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) {
|
static inline void setGlobalSpeedsteps(byte s) {
|
||||||
globalSpeedsteps = s;
|
globalSpeedsteps = s;
|
||||||
};
|
};
|
||||||
|
static inline void setAckRetry(int retry) {
|
||||||
|
ackRetry = retry;
|
||||||
|
ackRetrySum = 0; // reset running total
|
||||||
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct LOCO
|
struct LOCO
|
||||||
@ -143,9 +147,13 @@ private:
|
|||||||
|
|
||||||
// ACK MANAGER
|
// ACK MANAGER
|
||||||
static ackOp const *ackManagerProg;
|
static ackOp const *ackManagerProg;
|
||||||
|
static ackOp const *ackManagerProgStart;
|
||||||
static byte ackManagerByte;
|
static byte ackManagerByte;
|
||||||
static byte ackManagerBitNum;
|
static byte ackManagerBitNum;
|
||||||
static int ackManagerCv;
|
static int ackManagerCv;
|
||||||
|
static int ackManagerRetry;
|
||||||
|
static int ackRetry;
|
||||||
|
static int ackRetrySum;
|
||||||
static int ackManagerWord;
|
static int ackManagerWord;
|
||||||
static byte ackManagerStash;
|
static byte ackManagerStash;
|
||||||
static bool ackReceived;
|
static bool ackReceived;
|
||||||
|
Loading…
Reference in New Issue
Block a user