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

Add DISPLAY feature to enable/disable the OLED display. Add ARMED page

which is displayed upon arming.  Resume page cycling when disarmed.
This commit is contained in:
Dominic Clifton 2014-09-16 01:33:15 +01:00
parent 1790e082fe
commit 0d37bcdf5b
7 changed files with 59 additions and 20 deletions

View file

@ -434,7 +434,9 @@ void executePeriodicTasks(void)
#endif
#ifdef DISPLAY
case UPDATE_DISPLAY_TASK:
updateDisplay();
if (feature(FEATURE_DISPLAY)) {
updateDisplay();
}
break;
#endif
}