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:
parent
61ec4690de
commit
bda6200f8f
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user