Skip to content

Commit

Permalink
Reboot required flag to cms power options
Browse files Browse the repository at this point in the history
Only for voltage/current meter source

Add flag to vbat clmax

Clmax flag revert
  • Loading branch information
asizon committed Mar 1, 2020
1 parent 3853b1a commit 66dbbe8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/cms/cms_menu_power.c
Expand Up @@ -100,8 +100,8 @@ static const OSD_Entry cmsx_menuPowerEntries[] =
{
{ "-- POWER --", OME_Label, NULL, NULL, 0},

{ "V METER", OME_TAB, NULL, &(OSD_TAB_t){ &batteryConfig_voltageMeterSource, VOLTAGE_METER_COUNT - 1, voltageMeterSourceNames }, 0 },
{ "I METER", OME_TAB, NULL, &(OSD_TAB_t){ &batteryConfig_currentMeterSource, CURRENT_METER_COUNT - 1, currentMeterSourceNames }, 0 },
{ "V METER", OME_TAB, NULL, &(OSD_TAB_t){ &batteryConfig_voltageMeterSource, VOLTAGE_METER_COUNT - 1, voltageMeterSourceNames }, REBOOT_REQUIRED },
{ "I METER", OME_TAB, NULL, &(OSD_TAB_t){ &batteryConfig_currentMeterSource, CURRENT_METER_COUNT - 1, currentMeterSourceNames }, REBOOT_REQUIRED },

{ "VBAT CLMAX", OME_UINT16, NULL, &(OSD_UINT16_t) { &batteryConfig_vbatmaxcellvoltage, VBAT_CELL_VOTAGE_RANGE_MIN, VBAT_CELL_VOTAGE_RANGE_MAX, 1 }, 0 },

Expand Down
2 changes: 1 addition & 1 deletion src/main/cms/cms_menu_vtx_smartaudio.c
Expand Up @@ -680,7 +680,7 @@ static const OSD_Entry saCmsMenuCommenceEntries[] = {

{ "YES", OME_Funcall, saCmsCommence, NULL, 0 },

{ "BACK", OME_Back, NULL, NULL, 0 },
{ "NO", OME_Back, NULL, NULL, 0 },
{ NULL, OME_END, NULL, NULL, 0 }
};

Expand Down
2 changes: 1 addition & 1 deletion src/main/cms/cms_menu_vtx_tramp.c
Expand Up @@ -232,7 +232,7 @@ static const void *trampCmsOnEnter(void)
static const OSD_Entry trampCmsMenuCommenceEntries[] = {
{ "CONFIRM", OME_Label, NULL, NULL, 0 },
{ "YES", OME_Funcall, trampCmsCommence, NULL, 0 },
{ "BACK", OME_Back, NULL, NULL, 0 },
{ "NO", OME_Back, NULL, NULL, 0 },
{ NULL, OME_END, NULL, NULL, 0 }
};

Expand Down

0 comments on commit 66dbbe8

Please sign in to comment.