Fix X10 simu crash
This commit is contained in:
@@ -191,6 +191,8 @@ void pwmCheck()
|
|||||||
// I have ~1860 interrupts with only one stick
|
// I have ~1860 interrupts with only one stick
|
||||||
if (pwm_interrupt_count < 1000) {
|
if (pwm_interrupt_count < 1000) {
|
||||||
analogs_pwm_disabled = true;
|
analogs_pwm_disabled = true;
|
||||||
|
#if !defined(SIMU)
|
||||||
adcInit();
|
adcInit();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user