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
+9
View File
@@ -197,6 +197,15 @@ void boardInit()
memset(&g_FATFS_Obj, 0, sizeof(g_FATFS_Obj));
keysInit();
#if NUM_PWMSTICKS > 0
sticksPwmInit();
delay_ms(20);
if (pwm_interrupt_count < 32) {
sticks_pwm_disabled = true;
}
#endif
adcInit();
lcdInit();
backlightInit();