From bda6200f8f061ad7183d284924f5b89457c9d4e6 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 a7b94b0..6d2eb19 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();