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:
parent
1790e082fe
commit
0d37bcdf5b
7 changed files with 59 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue