1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 16:16:13 +01:00

FIX Driveaway!

This commit is contained in:
Asbelos 2022-10-27 15:18:18 +01:00
parent 61ec4690de
commit bda6200f8f

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();