Potential fix for #5895 (#5897)

Fixes #5895
This commit is contained in:
Andre Bernet
2018-05-21 10:43:44 +02:00
committed by Bertrand Songis
parent 993e543162
commit 8e7e036591
13 changed files with 54 additions and 53 deletions
+10 -1
View File
@@ -174,8 +174,17 @@ void boardInit()
#endif
keysInit();
adcInit();
delaysInit();
#if NUM_PWMSTICKS > 0
sticksPwmInit();
delay_ms(20);
if (pwm_interrupt_count < 32) {
sticks_pwm_disabled = true;
}
#endif
adcInit();
lcdInit(); // delaysInit() must be called before
audioInit();
init2MhzTimer();