mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
set default of spec prearm screen to false if race pro not defined (#13547)
* set default of spec prearm screen to false if race pro not defined * Simple variant - thanks Ledvinap --------- Co-authored-by: Eike Ahmels <ea@weslink.de> Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
parent
76178a232f
commit
6e62cdf067
1 changed files with 3 additions and 2 deletions
|
@ -427,9 +427,10 @@ void pgResetFn_osdConfig(osdConfig_t *osdConfig)
|
||||||
#ifdef USE_OSD_QUICK_MENU
|
#ifdef USE_OSD_QUICK_MENU
|
||||||
osdConfig->osd_use_quick_menu = true;
|
osdConfig->osd_use_quick_menu = true;
|
||||||
#endif // USE_OSD_QUICK_MENU
|
#endif // USE_OSD_QUICK_MENU
|
||||||
#ifdef USE_SPEC_PREARM_SCREEN
|
|
||||||
|
#ifdef USE_RACE_PRO
|
||||||
osdConfig->osd_show_spec_prearm = true;
|
osdConfig->osd_show_spec_prearm = true;
|
||||||
#endif // USE_SPEC_PREARM_SCREEN
|
#endif // USE_RACE_PRO
|
||||||
}
|
}
|
||||||
|
|
||||||
void pgResetFn_osdElementConfig(osdElementConfig_t *osdElementConfig)
|
void pgResetFn_osdElementConfig(osdElementConfig_t *osdElementConfig)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue