Mercurial > public > ostc4
comparison Discovery/Src/tMenuSetpoint.c @ 650:5f0d3dce5ef4
Automatik setpoint change:
In previous versions a better set point was suggested by the OSTC but had to be confirmed using the quick menu functionality. To improve usability an option has been added to the setpoint menu which allows the selection of automatically setpoint changes. If activated the OSTC will automatically switch to the setpoint in case the matching depth is passed.
author | Ideenmodellierer |
---|---|
date | Mon, 19 Apr 2021 20:19:32 +0200 |
parents | 1f557e5f4b5a |
children | 1b995079c045 |
comparison
equal
deleted
inserted
replaced
649:60162a939c06 | 650:5f0d3dce5ef4 |
---|---|
131 text[textPointer++] = TXT2BYTE_UseSensor; | 131 text[textPointer++] = TXT2BYTE_UseSensor; |
132 text[textPointer++] = '\n'; | 132 text[textPointer++] = '\n'; |
133 text[textPointer++] = '\r'; | 133 text[textPointer++] = '\r'; |
134 text[textPointer++] = 0; | 134 text[textPointer++] = 0; |
135 } | 135 } |
136 else | |
137 { | |
138 text[textPointer++] = '\020'; | |
139 text[textPointer++] = TXT_2BYTE; | |
140 text[textPointer++] = TXT2BYTE_AutomaticSP; | |
141 text[textPointer++] = '\002'; | |
142 if(settingsGetPointer()->autoSetpoint) | |
143 text[textPointer++] = '\005'; | |
144 else | |
145 text[textPointer++] = '\006'; | |
146 text[textPointer++] = 0; | |
147 } | |
136 return StMSP; | 148 return StMSP; |
137 } | 149 } |