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

init trackPWM to false so that we do not get false positives later

This commit is contained in:
Harald Barth 2022-08-05 12:25:32 +02:00
parent 67b14ec57d
commit 6286f5fedf

View File

@ -131,7 +131,7 @@ class MotorDriver {
}
bool isPWMCapable();
bool canMeasureCurrent();
bool trackPWM; // this track uses PWM timer to generate the DCC waveform
bool trackPWM = false; // this track uses PWM timer to generate the DCC waveform
static bool commonFaultPin; // This is a stupid motor shield which has only a common fault pin for both outputs
inline byte getFaultPin() {
return faultPin;