mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
ACK RETRY updated datatypes
This commit is contained in:
parent
d93584e9a4
commit
1dbf236697
8
DCC.h
8
DCC.h
|
@ -115,7 +115,7 @@ public:
|
||||||
static inline void setGlobalSpeedsteps(byte s) {
|
static inline void setGlobalSpeedsteps(byte s) {
|
||||||
globalSpeedsteps = s;
|
globalSpeedsteps = s;
|
||||||
};
|
};
|
||||||
static inline void setAckRetry(int retry) {
|
static inline void setAckRetry(byte retry) {
|
||||||
ackRetry = retry;
|
ackRetry = retry;
|
||||||
ackRetrySum = 0; // reset running total
|
ackRetrySum = 0; // reset running total
|
||||||
};
|
};
|
||||||
|
@ -151,9 +151,9 @@ private:
|
||||||
static byte ackManagerByte;
|
static byte ackManagerByte;
|
||||||
static byte ackManagerBitNum;
|
static byte ackManagerBitNum;
|
||||||
static int ackManagerCv;
|
static int ackManagerCv;
|
||||||
static int ackManagerRetry;
|
static byte ackManagerRetry;
|
||||||
static int ackRetry;
|
static byte ackRetry;
|
||||||
static int ackRetrySum;
|
static int16_t 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