From ff28dbd561422975ec667e693dabcf29d674a0aa Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Mon, 15 Aug 2022 10:50:55 +0200 Subject: [PATCH] no need to estop repeatedly --- WiThrottle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WiThrottle.cpp b/WiThrottle.cpp index 61765a4..e6b018f 100644 --- a/WiThrottle.cpp +++ b/WiThrottle.cpp @@ -541,6 +541,7 @@ void WiThrottle::checkHeartbeat(RingStream * stream) { if (myLocos[loco].throttle!='\0') { if (Diag::WITHROTTLE) DIAG(F("%l eStopping cab %d"),millis(),myLocos[loco].cab); DCC::setThrottle(myLocos[loco].cab, 1, DCC::getThrottleDirection(myLocos[loco].cab)); // speed 1 is eStop + heartBeat=millis(); // We have just stopped everyting, we don't need to do that again at next loop. } } //haba no, not necessary the only throttle and it may come back