mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-03-14 18:13:09 +01:00
zero transmit not pending repeats when ack is found
This commit is contained in:
parent
6994139e57
commit
3e8649f9a1
@ -48,7 +48,7 @@ class DCCWaveform {
|
|||||||
static void loop();
|
static void loop();
|
||||||
static DCCWaveform mainTrack;
|
static DCCWaveform mainTrack;
|
||||||
static DCCWaveform progTrack;
|
static DCCWaveform progTrack;
|
||||||
void clearRepeats() {pendingRepeats=0;}
|
inline void clearRepeats() { transmitRepeats=0; }
|
||||||
void schedulePacket(const byte buffer[], byte byteCount, byte repeats);
|
void schedulePacket(const byte buffer[], byte byteCount, byte repeats);
|
||||||
volatile bool packetPending;
|
volatile bool packetPending;
|
||||||
volatile byte sentResetsSincePacket;
|
volatile byte sentResetsSincePacket;
|
||||||
|
Loading…
Reference in New Issue
Block a user