1
0
Fork 0
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:
Eike Ahmels 2024-04-20 23:19:45 +02:00 committed by GitHub
parent 76178a232f
commit 6e62cdf067
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -427,9 +427,10 @@ void pgResetFn_osdConfig(osdConfig_t *osdConfig)
#ifdef USE_OSD_QUICK_MENU
osdConfig->osd_use_quick_menu = true;
#endif // USE_OSD_QUICK_MENU
#ifdef USE_SPEC_PREARM_SCREEN
#ifdef USE_RACE_PRO
osdConfig->osd_show_spec_prearm = true;
#endif // USE_SPEC_PREARM_SCREEN
#endif // USE_RACE_PRO
}
void pgResetFn_osdElementConfig(osdElementConfig_t *osdElementConfig)