Mercurial > public > ostc4
comparison Discovery/Src/tMenuCustom.c @ 1005:85f7e19c6688 GasConsumption
Switch menu position of Buzzer and flipdisplay option:
The Buzzer is an HW option while the flipdisplay is a SW function => exchange the position in order to clean up categories.
| author | Ideenmodellierer |
|---|---|
| date | Sat, 03 May 2025 17:47:53 +0200 |
| parents | ac25c35a3c97 |
| children |
comparison
equal
deleted
inserted
replaced
| 1004:efb7d18cc564 | 1005:85f7e19c6688 |
|---|---|
| 118 | 118 |
| 119 strcpy(&text[textPointer],"\n\r"); | 119 strcpy(&text[textPointer],"\n\r"); |
| 120 textPointer += 2; | 120 textPointer += 2; |
| 121 #endif | 121 #endif |
| 122 | 122 |
| 123 if((line == 0) || (line == 5)) | |
| 124 { | |
| 125 text[textPointer++] = TXT_2BYTE; | |
| 126 text[textPointer++] = TXT2BYTE_FLIPDISPLAY; | |
| 127 text[textPointer++] = '\t'; | |
| 128 if(settingsGetPointer()->FlipDisplay) | |
| 129 text[textPointer++] = '\005'; | |
| 130 else | |
| 131 text[textPointer++] = '\006'; | |
| 132 text[textPointer] = 0; | |
| 123 | 133 |
| 124 if((isNewDisplay()) && ((line == 0) || (line == 5))) | |
| 125 { | |
| 126 text[textPointer++] = TXT_2BYTE; | |
| 127 text[textPointer++] = TXT2BYTE_BUZZER; | |
| 128 text[textPointer++] = ' '; | |
| 129 text[textPointer++] = TXT_Warning; | |
| 130 text[textPointer++] = '\t'; | |
| 131 if(settingsGetPointer()->warningBuzzer) | |
| 132 text[textPointer++] = '\005'; | |
| 133 else | |
| 134 text[textPointer++] = '\006'; | |
| 135 } | 134 } |
| 136 | 135 |
| 137 strcpy(&text[textPointer],"\n\r"); | 136 strcpy(&text[textPointer],"\n\r"); |
| 138 textPointer += 2; | 137 textPointer += 2; |
| 139 | 138 |
