[X10] PWM sticks fix

This commit is contained in:
Bertrand Songis
2019-03-21 13:57:23 +01:00
parent abca4e559f
commit b0b027e958
6 changed files with 6 additions and 9 deletions
+1 -3
View File
@@ -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