Skip to content

Commit

Permalink
Move Contrast after Backlight items in Radio Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjjjjjjj committed Dec 3, 2024
1 parent 8a0e6f5 commit 33f08f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions radio/src/gui/128x64/radio_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ enum MenuRadioSetupItems {
CASE_HAPTIC(ITEM_SETUP_HAPTIC_MODE)
CASE_HAPTIC(ITEM_SETUP_HAPTIC_LENGTH)
CASE_HAPTIC(ITEM_SETUP_HAPTIC_STRENGTH)
ITEM_SETUP_CONTRAST,
ITEM_SETUP_ALARMS_LABEL,
ITEM_SETUP_BATTERY_WARNING,
CASE_CAPACITY(ITEM_SETUP_CAPACITY_WARNING)
Expand All @@ -88,6 +87,7 @@ enum MenuRadioSetupItems {
CASE_PWM_BACKLIGHT(ITEM_SETUP_BACKLIGHT_BRIGHTNESS_OFF)
CASE_PWM_BACKLIGHT(ITEM_SETUP_BACKLIGHT_BRIGHTNESS_ON)
ITEM_SETUP_FLASH_BEEP,
ITEM_SETUP_CONTRAST,
CASE_SPLASH_PARAM(ITEM_SETUP_DISABLE_SPLASH)
#if defined(PXX2)
ITEM_RADIO_OWNER_ID,
Expand Down Expand Up @@ -149,7 +149,7 @@ void menuRadioSetup(event_t event)
CASE_HAPTIC(0)
CASE_HAPTIC(0)
CASE_HAPTIC(0)
0, LABEL(ALARMS), 0, CASE_CAPACITY(0)
LABEL(ALARMS), 0, CASE_CAPACITY(0)
0, 0, 0,
#if defined(PWR_BUTTON_SOFT)
0, /* rssi poweroff alarm */
Expand All @@ -160,6 +160,7 @@ void menuRadioSetup(event_t event)
CASE_PWM_BACKLIGHT(0)
CASE_PWM_BACKLIGHT(0)
0, /* alarm */
0, // Contrast
CASE_SPLASH_PARAM(0)
#if defined(PXX2)
0 /* owner registration ID */,
Expand Down

0 comments on commit 33f08f0

Please sign in to comment.