[X10] PWM sticks fix
This commit is contained in:
@@ -29,8 +29,6 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
extern bool sticks_pwm_disabled;
|
||||
|
||||
HardwareOptions hardwareOptions;
|
||||
|
||||
void watchdogInit(unsigned int duration)
|
||||
@@ -208,7 +206,7 @@ void boardInit()
|
||||
sticksPwmInit();
|
||||
delay_ms(20);
|
||||
if (pwm_interrupt_count < 32) {
|
||||
sticks_pwm_disabled = true;
|
||||
hardwareOptions.sticksPwmDisabled = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user