1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

improved fix

This commit is contained in:
Krzysztof Matula 2019-04-15 19:04:34 +02:00
parent e256639909
commit 078e7fc0a5

View file

@ -478,7 +478,7 @@ static void validateAndFixConfig(void)
src = 0; src = 0;
} }
if (prc >= OSD_TIMER_PREC_COUNT) { if (prc >= OSD_TIMER_PREC_COUNT) {
prc = OSD_TIMER_PREC_COUNT; prc = 0;
} }
osdConfigMutable()->timers[i] = OSD_TIMER(src, prc, OSD_TIMER_ALARM(timer)); osdConfigMutable()->timers[i] = OSD_TIMER(src, prc, OSD_TIMER_ALARM(timer));
} }