1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

revert adding space to power reply because of RtDriver app

This commit is contained in:
Harald Barth 2022-08-20 17:35:07 +02:00
parent 4fb53572f5
commit 58bac3dc51

View File

@ -174,7 +174,7 @@ void CommandDistributor::broadcastPower() {
else if (main) reason=F(" MAIN"); else if (main) reason=F(" MAIN");
else if (prog) reason=F(" PROG"); else if (prog) reason=F(" PROG");
else state='0'; else state='0';
broadcastReply(COMMAND_TYPE, F("<p %c%S>\n"),state,reason); broadcastReply(COMMAND_TYPE, F("<p%c%S>\n"),state,reason);
#ifdef CD_HANDLE_RING #ifdef CD_HANDLE_RING
broadcastReply(WITHROTTLE_TYPE, F("PPA%c\n"), main?'1':'0'); broadcastReply(WITHROTTLE_TYPE, F("PPA%c\n"), main?'1':'0');
#endif #endif