Mercurial > public > ostc4
comparison Discovery/Src/tMenuDeco.c @ 981:c6c781a2e85b default
Merge into default
| author | heinrichsweikamp |
|---|---|
| date | Tue, 11 Feb 2025 18:12:00 +0100 |
| parents | 608d3e918146 |
| children |
comparison
equal
deleted
inserted
replaced
| 871:f7318457df4d | 981:c6c781a2e85b |
|---|---|
| 132 strcpy(&text[textPointer],"\n\r"); | 132 strcpy(&text[textPointer],"\n\r"); |
| 133 textPointer += 2; | 133 textPointer += 2; |
| 134 | 134 |
| 135 if((line == 0) || (line == 4)) | 135 if((line == 0) || (line == 4)) |
| 136 { | 136 { |
| 137 if(settingsGetPointer()->slowExitTime != 0) | |
| 138 { | |
| 139 textPointer += snprintf(&text[textPointer], 60,\ | |
| 140 "%c%c\t%u\016\016 %c\017 ^ %u\016\016 %c%c\017" | |
| 141 , TXT_2BYTE | |
| 142 , TXT2BYTE_SlowExit | |
| 143 , settingsGetPointer()->slowExitTime | |
| 144 ,TXT_Minutes | |
| 145 , unit_depth_integer(settingsGetPointer()->last_stop_depth_meter) | |
| 146 , unit_depth_char1() | |
| 147 , unit_depth_char2() | |
| 148 ); | |
| 149 } | |
| 150 else | |
| 151 { | |
| 152 textPointer += snprintf(&text[textPointer], 60, "%c%c\t%c%c" | |
| 153 , TXT_2BYTE | |
| 154 , TXT2BYTE_SlowExit | |
| 155 , TXT_2BYTE | |
| 156 , TXT2BYTE_MoCtrlNone | |
| 157 ); | |
| 158 } | |
| 159 } | |
| 160 strcpy(&text[textPointer],"\n\r"); | |
| 161 textPointer += 2; | |
| 162 if((line == 0) || (line == 5)) | |
| 163 { | |
| 137 textPointer += snprintf(&text[textPointer], 60,\ | 164 textPointer += snprintf(&text[textPointer], 60,\ |
| 138 "%c" | 165 "%c" |
| 139 "\t" | 166 "\t" |
| 140 "%u" | 167 "%u" |
| 141 "\016\016" | 168 "\016\016" |
| 147 ); | 174 ); |
| 148 } | 175 } |
| 149 strcpy(&text[textPointer],"\n\r"); | 176 strcpy(&text[textPointer],"\n\r"); |
| 150 textPointer += 2; | 177 textPointer += 2; |
| 151 | 178 |
| 152 if((line == 0) || (line == 5)) | 179 if((line == 0) || (line == 6)) |
| 153 { | 180 { |
| 154 textPointer += snprintf(&text[textPointer], 60,\ | 181 textPointer += snprintf(&text[textPointer], 60,\ |
| 155 "%c" | 182 "%c" |
| 156 "\t" | 183 "\t" |
| 157 "%u" | 184 "%u" |
