1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

temp fix for counting packets code

This commit is contained in:
Harald Barth 2022-08-04 04:15:28 +02:00
parent 03c6f3ab24
commit f57fd245a1

View File

@ -113,7 +113,11 @@ void DCCACK::Setup(int wordval, ackOp const program[], ACK_CALLBACK callback) {
Setup(0, 0, program, callback);
}
#ifdef ARDUINO_ARCH_ESP32
const byte RESET_MIN=12; // Ugly fix until counting code is right
#else
const byte RESET_MIN=8; // tuning of reset counter before sending message
#endif
// checkRessets return true if the caller should yield back to loop and try later.
bool DCCACK::checkResets(uint8_t numResets) {