mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Improved CMS const correctness. Added CMS and USE_MSP_DISPLAYPORT to common.h
This commit is contained in:
parent
c9b7ac21c1
commit
f68e6a4d2f
10 changed files with 110 additions and 110 deletions
|
@ -43,7 +43,7 @@
|
|||
#include "io/flashfs.h"
|
||||
|
||||
#ifdef USE_FLASHFS
|
||||
static long cmsx_EraseFlash(displayPort_t *pDisplay, void *ptr)
|
||||
static long cmsx_EraseFlash(displayPort_t *pDisplay, const void *ptr)
|
||||
{
|
||||
UNUSED(ptr);
|
||||
|
||||
|
@ -101,11 +101,11 @@ static OSD_Entry cmsx_menuBlackboxEntries[] =
|
|||
};
|
||||
|
||||
CMS_Menu cmsx_menuBlackbox = {
|
||||
"MENUBB",
|
||||
OME_MENU,
|
||||
cmsx_Blackbox_FeatureRead,
|
||||
NULL,
|
||||
cmsx_Blackbox_FeatureWriteback,
|
||||
cmsx_menuBlackboxEntries,
|
||||
.GUARD_text = "MENUBB",
|
||||
.GUARD_type = OME_MENU,
|
||||
.onEnter = cmsx_Blackbox_FeatureRead,
|
||||
.onExit = NULL,
|
||||
.onGlobalExit = cmsx_Blackbox_FeatureWriteback,
|
||||
.entries = cmsx_menuBlackboxEntries
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue