mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 13:21:23 +01:00
ACK RETRY variables added
This commit is contained in:
parent
34d2ab3543
commit
b67027a1ed
8
DCC.h
8
DCC.h
@ -115,6 +115,10 @@ public:
|
||||
static inline void setGlobalSpeedsteps(byte s) {
|
||||
globalSpeedsteps = s;
|
||||
};
|
||||
static inline void setAckRetry(int retry) {
|
||||
ackRetry = retry;
|
||||
ackRetrySum = 0; // reset running total
|
||||
};
|
||||
|
||||
private:
|
||||
struct LOCO
|
||||
@ -143,9 +147,13 @@ private:
|
||||
|
||||
// ACK MANAGER
|
||||
static ackOp const *ackManagerProg;
|
||||
static ackOp const *ackManagerProgStart;
|
||||
static byte ackManagerByte;
|
||||
static byte ackManagerBitNum;
|
||||
static int ackManagerCv;
|
||||
static int ackManagerRetry;
|
||||
static int ackRetry;
|
||||
static int ackRetrySum;
|
||||
static int ackManagerWord;
|
||||
static byte ackManagerStash;
|
||||
static bool ackReceived;
|
||||
|
Loading…
Reference in New Issue
Block a user