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

make volatile because of interrupt routine and optimzer in PIO

This commit is contained in:
Harald Barth 2020-10-20 10:55:12 +02:00
parent 7dca6db1c5
commit 4dee6da29e

View File

@ -118,8 +118,8 @@ class DCCWaveform {
unsigned int power_good_counter = 0;
// ACK management (Prog track only)
bool ackPending;
bool ackDetected;
volatile bool ackPending;
volatile bool ackDetected;
int ackThreshold;
int ackLimitmA = 60;
int ackMaxCurrent;