mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
make volatile because of interrupt routine and optimzer in PIO
This commit is contained in:
parent
7dca6db1c5
commit
4dee6da29e
|
@ -118,8 +118,8 @@ class DCCWaveform {
|
||||||
unsigned int power_good_counter = 0;
|
unsigned int power_good_counter = 0;
|
||||||
|
|
||||||
// ACK management (Prog track only)
|
// ACK management (Prog track only)
|
||||||
bool ackPending;
|
volatile bool ackPending;
|
||||||
bool ackDetected;
|
volatile bool ackDetected;
|
||||||
int ackThreshold;
|
int ackThreshold;
|
||||||
int ackLimitmA = 60;
|
int ackLimitmA = 60;
|
||||||
int ackMaxCurrent;
|
int ackMaxCurrent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user