1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +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

@ -139,7 +139,9 @@ void init(void)
initBoardAlignment(&masterConfig.boardAlignment);
#ifdef DISPLAY
displayInit();
if (feature(FEATURE_DISPLAY)) {
displayInit();
}
#endif
// We have these sensors; SENSORS_SET defined in board.h depending on hardware platform