mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-30 03:26:13 +01:00
ACK RETRY
LCD display update. lcd(0, F("RETRY %d %d %d %d"), ackManagerCv, ackManagerRetry, ackRetry, ackRetrySum);
This commit is contained in:
parent
11cd216017
commit
08350b215a
4
DCC.cpp
4
DCC.cpp
|
@ -906,8 +906,8 @@ void DCC::callback(int value) {
|
||||||
// check for automatic retry
|
// check for automatic retry
|
||||||
if (value == -1 && ackManagerRetry > 0) {
|
if (value == -1 && ackManagerRetry > 0) {
|
||||||
ackRetrySum ++;
|
ackRetrySum ++;
|
||||||
StringFormatter::lcd(0, F("%d %d %d %d %d %d"), ackManagerCv, ackManagerRetry, ackRetry, ackRetrySum, ackManagerProg, ackManagerProgStart);
|
StringFormatter::lcd(0, F("RETRY %d %d %d %d"), ackManagerCv, ackManagerRetry, ackRetry, ackRetrySum);
|
||||||
ackManagerRetry -= 1;
|
ackManagerRetry --;
|
||||||
ackManagerProg = ackManagerProgStart;
|
ackManagerProg = ackManagerProgStart;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user