From b3d02350f2a88e87709a87dbf7c08cde24703ea1 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 9 May 2021 20:04:16 +0200 Subject: [PATCH] only send function commands once, not 4 times --- DCC.cpp | 2 +- version.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DCC.cpp b/DCC.cpp index 3677e44..aa9864d 100644 --- a/DCC.cpp +++ b/DCC.cpp @@ -126,7 +126,7 @@ void DCC::setFunctionInternal(int cab, byte byte1, byte byte2) { if (byte1!=0) b[nB++] = byte1; b[nB++] = byte2; - DCCWaveform::mainTrack.schedulePacket(b, nB, 3); // send packet 3 times + DCCWaveform::mainTrack.schedulePacket(b, nB, 0); } uint8_t DCC::getThrottleSpeed(int cab) { diff --git a/version.h b/version.h index 208261b..460ea93 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "3.0.14" +#define VERSION "3.0.15" +// 3.0.15 only send function commands once, not 4 times // 3.0.14 gap in ack tolerant fix, prog track power management over join fix. // 3.0.13 Functions>127 fix // 3.0.12 Fix HOSTNAME function for STA mode for WiFi