diff --git a/DCCWaveform.cpp b/DCCWaveform.cpp index eb25144..7471fb5 100644 --- a/DCCWaveform.cpp +++ b/DCCWaveform.cpp @@ -145,7 +145,7 @@ void DCCWaveform::interrupt2() { // As we get to the end of the preambles, open the reminder window. // This delays any reminder insertion until the last moment so // that the reminder doesn't block a more urgent packet. - reminderWindowOpen=transmitRepeats==0 && remainingPreambles<4 && remainingPreambles>1; + reminderWindowOpen=transmitRepeats==0 && remainingPreambles<12 && remainingPreambles>1; if (remainingPreambles==1) promotePendingPacket(); else if (remainingPreambles==10 && isMainTrack && railcomActive) DCCTimer::ackRailcomTimer(); // Update free memory diagnostic as we don't have anything else to do this time. diff --git a/version.h b/version.h index 131d09a..977febc 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,8 @@ #include "StringFormatter.h" -#define VERSION "5.4.9" +#define VERSION "5.4.10" +// 5.4.10 - Bugfix: MEGA DCC waveform starvation (sends too many idles) // 5.4.9 - Handle non-compliant decoders returning 255 for cv 20 and confusing with bad consist addresses. // - handles non-compliant decoders which NAK cv 20 writes. // 5.4.8 - Bugfix: Insert idle packet at end of speed reminder loop; treat all function groups equal