mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
temp fix for counting packets code
This commit is contained in:
parent
03c6f3ab24
commit
f57fd245a1
@ -113,7 +113,11 @@ void DCCACK::Setup(int wordval, ackOp const program[], ACK_CALLBACK callback) {
|
|||||||
Setup(0, 0, program, 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
|
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.
|
// checkRessets return true if the caller should yield back to loop and try later.
|
||||||
bool DCCACK::checkResets(uint8_t numResets) {
|
bool DCCACK::checkResets(uint8_t numResets) {
|
||||||
|
Loading…
Reference in New Issue
Block a user