mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Drastically reduce the CMS RAM usage.
Previously the runtime page state was mixed with the page configuration. This resolves this by: a) making the configuration entries constant so they do not need to be in RAM. b) Maintaining page state independently.
This commit is contained in:
parent
fefa2a83e4
commit
78f38daa4f
14 changed files with 93 additions and 85 deletions
|
@ -195,7 +195,7 @@ static long cmsx_Blackbox_onExit(const OSD_Entry *self)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static OSD_Entry cmsx_menuBlackboxEntries[] =
|
||||
static const OSD_Entry cmsx_menuBlackboxEntries[] =
|
||||
{
|
||||
{ "-- BLACKBOX --", OME_Label, NULL, NULL, 0},
|
||||
{ "DEVICE", OME_TAB, NULL, &cmsx_BlackboxDeviceTable, 0 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue