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

Merge pull request #11111 from SteveCEvans/cms_slider_ro

Make CMS fields readonly when overridden by a slider and mark with an S
This commit is contained in:
haslinghuis 2021-12-21 00:33:59 +01:00 committed by GitHub
commit b745eaf284
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 564 additions and 521 deletions

View file

@ -125,10 +125,10 @@ TEST(CMSUnittest, TestCmsMenuKey)
extern "C" {
static const OSD_Entry menuMainEntries[] =
{
{"-- MAIN MENU --", OME_Label, NULL, NULL, 0},
{"SAVE&REBOOT", OME_OSD_Exit, cmsMenuExit, (void*)1, 0},
{"EXIT", OME_OSD_Exit, cmsMenuExit, (void*)0, 0},
{NULL, OME_END, NULL, NULL, 0}
{"-- MAIN MENU --", OME_Label, NULL, NULL},
{"SAVE&REBOOT", OME_OSD_Exit, cmsMenuExit, (void*)1},
{"EXIT", OME_OSD_Exit, cmsMenuExit, (void*)0},
{NULL, OME_END, NULL, NULL}
};
CMS_Menu cmsx_menuMain = {
#ifdef CMS_MENU_DEBUG