Changes

Summary

  1. Disconnect OSD stats display from storage bit position order Allows (commit: 1b8fd99) (details)
  2. Remove MSP update for stats display order (commit: 4e85c0f) (details)
Commit 1b8fd991267b1e89588f595d3f8c7e1a43ea3907 by github
Disconnect OSD stats display from storage bit position order Allows
reordering OSD post-flight statistics without affecting the storage bit
position and requiring Configurator changes. Previously the display
order was one and the same with the enabled flag bit position.
Additionally this ordering was also used by the configurator. So if the
ordering was changed then the user settings would become corrupted
(different stats would be enabled/disabled). Also the Configurator had
an internal representation that had to match the definition enumeration
otherwise the flags returned when saving would also set the wrong bits.
Now the definition remains constant and unchanging. The bit positions
for the enable flag will not be changed. A separate array defines the
presentaion order of the permanent stats ID's.
Added the display order to MSP to allow the configurator to also present
the stats in the same order displayed in the firmware.
(commit: 1b8fd99)
The file was modifiedsrc/main/msp/msp.c (diff)
The file was modifiedsrc/main/osd/osd.c (diff)
The file was modifiedsrc/main/osd/osd.h (diff)
Commit 4e85c0f2a288741ba1efda6b75eaa4133e1a5ffe by github
Remove MSP update for stats display order
(commit: 4e85c0f)
The file was modifiedsrc/main/msp/msp.c (diff)