From 39aedad48e3f4639cffecc6168fa51fd59a93db0 Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Sat, 1 May 2021 16:36:09 -0400 Subject: Clean up unneeded settings from menu --- apps/settings/main.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/settings/main.cpp b/apps/settings/main.cpp index 8f673c5..78be3e2 100644 --- a/apps/settings/main.cpp +++ b/apps/settings/main.cpp @@ -7,19 +7,18 @@ extern void app_switch(int old_appid, int new_appid); extern bool rtc_get_datetime(datetime_t *t); -#define MAIN_SET_NUM 4 -#define MAIN_SET_NUM_STR "4" +#define MAIN_SET_NUM 2 +#define MAIN_SET_NUM_STR "2" #define SIZE_SETTING_NAME 12 #define SET0_NAME "Date & Time" -#define SET1_NAME "Date" -#define SET2_NAME "Brightness" -#define SET3_NAME "Sleep delay" +#define SET1_NAME "Display" + #define SET0_DESC "Set date/time. Choose unit to change:" #define SET0_0_DESC "Ajust selected unit. Use good values!" #define SET0_1_DESC "Set the current month or day of week." namespace app_settings { - const char *MAIN_SET_NAMES[MAIN_SET_NUM] = {SET0_NAME, SET1_NAME, SET2_NAME, SET3_NAME}; + const char *MAIN_SET_NAMES[MAIN_SET_NUM] = {SET0_NAME, SET1_NAME}; int selected_setting = 0; char display_setting_name[SIZE_SETTING_NAME]; bool selected = false; -- cgit v1.2.3-54-g00ecf