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

Merge pull request #7993 from etracer65/osd_vario_wedge

Fix OSD crash if vario element is enabled but not supported by target
This commit is contained in:
Michael Keller 2019-04-14 23:11:25 +12:00 committed by GitHub
commit 1f08a8f5e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1280,7 +1280,9 @@ static const uint8_t osdElementDisplayOrder[] = {
OSD_MAIN_BATT_USAGE,
OSD_DISARMED,
OSD_NUMERICAL_HEADING,
#ifdef USE_VARIO
OSD_NUMERICAL_VARIO,
#endif
OSD_COMPASS_BAR,
OSD_ANTI_GRAVITY,
#ifdef USE_BLACKBOX