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:
parent
67b14ec57d
commit
6286f5fedf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user