Fix X10 simu crash

This commit is contained in:
Kilrah
2017-10-09 09:41:18 +02:00
parent 69118a96be
commit 380adaad3b
+2
View File
@@ -191,6 +191,8 @@ void pwmCheck()
// I have ~1860 interrupts with only one stick
if (pwm_interrupt_count < 1000) {
analogs_pwm_disabled = true;
#if !defined(SIMU)
adcInit();
#endif
}
}