From 7276bed53f33351398d618f5dcb12b0e3fdac914 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sun, 1 Mar 2020 10:00:10 +0100 Subject: [PATCH] Oobe setup and rename button events --- include/hasp_conf.h | 3 ++- src/hasp.h | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/include/hasp_conf.h b/include/hasp_conf.h index 0136eddd..c6990546 100644 --- a/include/hasp_conf.h +++ b/include/hasp_conf.h @@ -2,7 +2,7 @@ #define HASP_VERSION_MAJOR 0 #define HASP_VERSION_MINOR 0 -#define HASP_VERSION_REVISION 8 +#define HASP_VERSION_REVISION 9 #define HASP_USE_APP 1 @@ -11,6 +11,7 @@ #define HASP_USE_HTTP 1 #define HASP_USE_MDNS 0 #define HASP_USE_SYSLOG 0 +#define HASP_USE_TELNET 0 #define HASP_USE_SPIFFS 1 #define HASP_USE_EEPROM 0 diff --git a/src/hasp.h b/src/hasp.h index 6460c942..9f06ad80 100644 --- a/src/hasp.h +++ b/src/hasp.h @@ -40,10 +40,9 @@ extern "C" { **********************/ enum lv_hasp_obj_type_t { - LV_HASP_BUTTON = 10, - LV_HASP_CHECKBOX = 11, - LV_HASP_LABEL = 12, - LV_HASP_CONTAINER = 13, + LV_HASP_BUTTON = 10, + LV_HASP_CHECKBOX = 11, + LV_HASP_LABEL = 12, LV_HASP_CPICKER = 20, LV_HASP_PRELOADER = 21, @@ -59,6 +58,8 @@ enum lv_hasp_obj_type_t { LV_HASP_DDLIST = 50, LV_HASP_ROLLER = 51, + + LV_HASP_CONTAINER = 90, }; /**********************