1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 23:56:13 +01:00

zero transmit not pending repeats when ack is found

This commit is contained in:
Harald Barth 2022-05-02 22:15:02 +02:00
parent 6994139e57
commit 3e8649f9a1

View File

@ -48,7 +48,7 @@ class DCCWaveform {
static void loop();
static DCCWaveform mainTrack;
static DCCWaveform progTrack;
void clearRepeats() {pendingRepeats=0;}
inline void clearRepeats() { transmitRepeats=0; }
void schedulePacket(const byte buffer[], byte byteCount, byte repeats);
volatile bool packetPending;
volatile byte sentResetsSincePacket;