1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Merge branch 'pluscommand-trackpoweroff' into candidate

This commit is contained in:
Harald Barth 2020-11-26 16:20:18 +01:00
commit 89fd98e4af

View File

@ -477,6 +477,8 @@ void DCCEXParser::parse(Print *stream, byte *com, bool blocking)
case '+': // Complex Wifi interface command (not usual parse)
if (atCommandCallback) {
DCCWaveform::mainTrack.setPowerMode(POWERMODE::OFF);
DCCWaveform::progTrack.setPowerMode(POWERMODE::OFF);
atCommandCallback(com);
return;
}