mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Fixed missing parameter group version increment for 'osdConfig' after #9261.
This commit is contained in:
parent
18c485707e
commit
be48054b5f
2 changed files with 5 additions and 1 deletions
|
@ -139,7 +139,7 @@ escSensorData_t *osdEscDataCombined;
|
|||
|
||||
STATIC_ASSERT(OSD_POS_MAX == OSD_POS(31,31), OSD_POS_MAX_incorrect);
|
||||
|
||||
PG_REGISTER_WITH_RESET_FN(osdConfig_t, osdConfig, PG_OSD_CONFIG, 6);
|
||||
PG_REGISTER_WITH_RESET_FN(osdConfig_t, osdConfig, PG_OSD_CONFIG, 7);
|
||||
|
||||
// Controls the display order of the OSD post-flight statistics.
|
||||
// Adjust the ordering here to control how the post-flight stats are presented.
|
||||
|
|
|
@ -144,6 +144,10 @@ typedef enum {
|
|||
OSD_ITEM_COUNT // MUST BE LAST
|
||||
} osd_items_e;
|
||||
|
||||
// *** IMPORTANT ***
|
||||
// Whenever new elements are added to 'osd_items_e', make sure to increment
|
||||
// the parameter group version for 'osdConfig' in 'osd.c'
|
||||
|
||||
// *** IMPORTANT ***
|
||||
// DO NOT REORDER THE STATS ENUMERATION. The order here cooresponds to the enabled flag bit position
|
||||
// storage and changing the order will corrupt user settings. Any new stats MUST be added to the end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue