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

Add gate to HD OSD elements (#13347)

Update osd_elements.c
This commit is contained in:
Mark Haslinghuis 2024-02-11 21:09:21 +01:00 committed by GitHub
parent 69999281c4
commit 435fe2750e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1788,6 +1788,7 @@ static const uint8_t osdElementDisplayOrder[] = {
OSD_TOTAL_FLIGHTS,
#endif
OSD_AUX_VALUE,
#ifdef USE_OSD_HD
OSD_SYS_GOGGLE_VOLTAGE,
OSD_SYS_VTX_VOLTAGE,
OSD_SYS_BITRATE,
@ -1799,6 +1800,7 @@ static const uint8_t osdElementDisplayOrder[] = {
OSD_SYS_WARNINGS,
OSD_SYS_VTX_TEMP,
OSD_SYS_FAN_SPEED,
#endif
};
// Define the mapping between the OSD element id and the function to draw it