menu fixes

This commit is contained in:
Lubos Petrovic
2020-12-05 19:53:56 +01:00
parent 49be75d06f
commit 7678d67cff
4 changed files with 87 additions and 83 deletions

49
menu.h
View File

@@ -24,16 +24,17 @@ MENU_ITEM menuItemsSource[100] = {
{107, 1, -1, "Debug OBD2 Kia"},
{300, 3, 0, "<- parent menu"},
{301, 3, -1, "Screen rotation"},
{MENU_WIFI, 3, -1, "[dev] WiFi network"},
{MENU_GPRS, 3, -1, "[dev] GSM/GPRS"},
{MENU_NTP, 3, -1, "[dev] NTP"},
{MENU_SDCARD, 3, -1, "[dev] SD card"},
{MENU_REMOTE_UPLOAD, 3, -1, "[dev] Remote upload"},
{MENU_SCREEN_ROTATION, 3, -1, "Screen rotation"},
{MENU_DEFAULT_SCREEN, 3, -1, "Default screen"},
{MENU_DEBUG_SCREEN, 3, -1, "Debug screen"},
{MENU_SCREEN_BRIGHTNESS, 3, -1, "LCD brightness"},
{MENU_PREDRAWN_GRAPHS, 3, -1, "Pre-drawn ch.graphs"},
{MENU_WIFI, 3, -1, "WiFi network"},
{307, 3, -1, "[DEV] SD card"},
{MENU_GPRS, 3, -1, "GPRS"},
{309, 3, -1, "[DEV] Remote upload"},
{MENU_HEADLIGHTS_REMINDER, 3, -1, "Headlight reminder"},
{MENU_DEBUG_SCREEN, 3, -1, "Debug screen"},
/*
// NTP
@@ -57,33 +58,23 @@ MENU_ITEM menuItemsSource[100] = {
{MENU_PRESSURE_UNIT, 4, -1, "Pressure"},
{3010, 301, 3, "<- parent menu"},
{3011, 301, -1, "Normal"},
{3012, 301, -1, "Flip vertical"},
{3020, 302, 3, "<- parent menu"},
{3021, 302, -1, "Auto mode"},
{3022, 302, -1, "Basic info"},
{3023, 302, -1, "Speed"},
{3024, 302, -1, "Battery cells"},
{3025, 302, -1, "Charging graph"},
{MENU_WIFI_ENABLED, 301, -1, "WiFi enabled"},
{MENU_WIFI_SSID, 301, -1, "SSID"},
{MENU_WIFI_PASSWORD, 301, -1, "Password"},
{3040, 304, 3, "<- parent menu"},
{3041, 304, -1, "Auto"},
{3042, 304, -1, "20%"},
{3043, 304, -1, "50%"},
{3044, 304, -1, "100%"},
{3060, 306, 3, "<- parent menu"},
{MENU_WIFI_ENABLED, 306, -1, "WiFi enabled"},
{MENU_WIFI_SSID, 306, -1, "SSID"},
{MENU_WIFI_PASSWORD, 306, -1, "Password"},
{3041, 304, -1, "Info:"},
{3042, 304, -1, "Mount manually"},
{3043, 304, -1, "Record now"},
{3044, 304, -1, "Stop recording"},
{3045, 304, -1, "Record on boot off/on"},
{3070, 307, 3, "<- parent menu"},
{3071, 307, -1, "Info:"},
{3072, 307, -1, "Mount manually"},
{3073, 307, -1, "Record now"},
{3074, 307, -1, "Stop recording"},
{3075, 307, -1, "Record on boot off/on"},
{3071, 307, -1, "Auto mode"},
{3072, 307, -1, "Basic info"},
{3073, 307, -1, "Speed"},
{3074, 307, -1, "Battery cells"},
{3075, 307, -1, "Charging graph"},
{4010, 401, 4, "<- parent menu"},
{4011, 401, -1, "Kilometers"},