From eed1237b9f18518b4565234db3896502738999ed Mon Sep 17 00:00:00 2001 From: Asbelos Date: Thu, 27 Oct 2022 15:18:18 +0100 Subject: [PATCH] FIX Driveaway! --- WiThrottle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WiThrottle.cpp b/WiThrottle.cpp index 3df56db..cfc4a74 100644 --- a/WiThrottle.cpp +++ b/WiThrottle.cpp @@ -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();