1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 03:26:13 +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) {
globalSpeedsteps = s;
};
static inline void setAckRetry(int retry) {
static inline void setAckRetry(byte retry) {
ackRetry = retry;
ackRetrySum = 0; // reset running total
};
@ -151,9 +151,9 @@ private:
static byte ackManagerByte;
static byte ackManagerBitNum;
static int ackManagerCv;
static int ackManagerRetry;
static int ackRetry;
static int ackRetrySum;
static byte ackManagerRetry;
static byte ackRetry;
static int16_t ackRetrySum;
static int ackManagerWord;
static byte ackManagerStash;
static bool ackReceived;