Mercurial > public > ostc4
comparison Discovery/Src/tMenuCustom.c @ 981:c6c781a2e85b default
Merge into default
| author | heinrichsweikamp |
|---|---|
| date | Tue, 11 Feb 2025 18:12:00 +0100 |
| parents | e9c37071933b |
| children | d9290c76b840 |
comparison
equal
deleted
inserted
replaced
| 871:f7318457df4d | 981:c6c781a2e85b |
|---|---|
| 116 } | 116 } |
| 117 | 117 |
| 118 strcpy(&text[textPointer],"\n\r"); | 118 strcpy(&text[textPointer],"\n\r"); |
| 119 textPointer += 2; | 119 textPointer += 2; |
| 120 #endif | 120 #endif |
| 121 | |
| 122 #ifdef ENABLE_GPIO_V2 | |
| 123 if((line == 0) || (line == 5)) | |
| 124 { | |
| 125 /* MotionCtrl */ | |
| 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 } | |
| 136 | |
| 137 strcpy(&text[textPointer],"\n\r"); | |
| 138 textPointer += 2; | |
| 139 #endif | |
| 140 | |
| 121 return StMCustom; | 141 return StMCustom; |
| 122 } | 142 } |
| 123 | 143 |
