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

FIX Driveaway!

This commit is contained in:
Asbelos 2022-10-27 15:18:18 +01:00 committed by Harald Barth
parent 07f1d6fc20
commit eed1237b9f

View File

@ -651,8 +651,9 @@ void WiThrottle::getLocoCallback(int16_t locoid) {
itoa(locoid,addcmd+4,10);
stashInstance->multithrottle(stashStream, (byte *)addcmd);
TrackManager::setMainPower(POWERMODE::ON);
TrackManager::setProgPower(POWERMODE::ON);
TrackManager::setJoin(true); // <1 JOIN> so we can drive loco away
//DIAG(F("LocoCallback commit success"));
DIAG(F("LocoCallback commit success"));
stashStream->commit();
CommandDistributor::broadcastPower();