From c7228194df9b8df8c21a0373411d25dcaa788cbd Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 3 Sep 2012 23:19:48 +0000 Subject: [PATCH] [sky9x] It was impossible to select UpperCase in names --- src/eeprom_arm.h | 1 - src/main_views.cpp | 5 ----- src/model_menus.cpp | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/eeprom_arm.h b/src/eeprom_arm.h index fa57009f0..c6b308e31 100644 --- a/src/eeprom_arm.h +++ b/src/eeprom_arm.h @@ -53,7 +53,6 @@ extern bool eeModelExists(uint8_t id) ; extern bool eeCopyModel(uint8_t dst, uint8_t src); extern void eeSwapModels(uint8_t id1, uint8_t id2); - #define DISPLAY_PROGRESS_BAR(x) struct t_file_entry diff --git a/src/main_views.cpp b/src/main_views.cpp index 77faa5b73..0f98f50a7 100644 --- a/src/main_views.cpp +++ b/src/main_views.cpp @@ -382,11 +382,6 @@ void menuMainView(uint8_t event) } #endif -#if 0 - // in case we want a progress bar in the Main Views - DISPLAY_PROGRESS_BAR(20*FW+1); -#endif - #ifdef DSM2 if (s_bind_mode) // Issue 98 lcd_putsAtt(15*FW, 0, PSTR("BIND"), 0); diff --git a/src/model_menus.cpp b/src/model_menus.cpp index 262978fda..707bd3242 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -507,7 +507,7 @@ void EditName(uint8_t x, uint8_t y, char *name, uint8_t size, uint8_t event, boo if (s_editMode>0) { uint8_t next = cur; char c = name[next]; - char v = c; + int8_t v = c; if (p1valdiff || event==EVT_KEY_FIRST(KEY_DOWN) || event==EVT_KEY_FIRST(KEY_UP) || event==EVT_KEY_REPT(KEY_DOWN) || event==EVT_KEY_REPT(KEY_UP)) { v = checkIncDec(event, abs(v), 0, ZCHAR_MAX, 0);