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

line added sentResetsSincePacket

in DCCWaveform::setPowerMode(POWERMODE mode)
 -- to pause while power is off due to PROG TRACK POWER OVERLOAD
and line added after case BASELINE in DCC.cpp
This commit is contained in:
Ash-4 2021-09-08 14:00:42 -05:00 committed by GitHub
parent 4dff8a2b50
commit f8311b8c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ void DCCWaveform::setPowerMode(POWERMODE mode) {
powerMode = mode;
bool ison = (mode == POWERMODE::ON);
motorDriver->setPower( ison);
sentResetsSincePacket=0;
}