Mercurial > public > ostc4
diff Discovery/Src/tMenuCustom.c @ 969:81049905d829 Evo_2_23
Zusammenf?hren
| author | heinrichsweikamp |
|---|---|
| date | Sun, 19 Jan 2025 12:02:59 +0100 |
| parents | e9c37071933b |
| children | d9290c76b840 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuCustom.c Sun Jan 19 12:00:50 2025 +0100 +++ b/Discovery/Src/tMenuCustom.c Sun Jan 19 12:02:59 2025 +0100 @@ -118,6 +118,26 @@ strcpy(&text[textPointer],"\n\r"); textPointer += 2; #endif + +#ifdef ENABLE_GPIO_V2 + if((line == 0) || (line == 5)) + { + /* MotionCtrl */ + text[textPointer++] = TXT_2BYTE; + text[textPointer++] = TXT2BYTE_BUZZER; + text[textPointer++] = ' '; + text[textPointer++] = TXT_Warning; + text[textPointer++] = '\t'; + if(settingsGetPointer()->warningBuzzer) + text[textPointer++] = '\005'; + else + text[textPointer++] = '\006'; + } + + strcpy(&text[textPointer],"\n\r"); + textPointer += 2; +#endif + return StMCustom; }
