1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

ACK RETRY updated datatypes

This commit is contained in:
Ash-4 2021-08-22 16:35:14 -05:00 committed by GitHub
parent d93584e9a4
commit 1dbf236697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
DCC.h
View File

@ -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;