diff --git a/.vscode/settings.json b/.vscode/settings.json index 1be854f..62257e7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,13 @@ { "files.associations": { - "cmath": "cpp" + "cmath": "cpp", + "array": "cpp", + "deque": "cpp", + "string": "cpp", + "unordered_map": "cpp", + "vector": "cpp", + "string_view": "cpp", + "initializer_list": "cpp", + "regex": "cpp" } } \ No newline at end of file diff --git a/Launcher/Launcher_2.0_C.bin b/Launcher/Launcher_2.0_C.bin index d885813..837abb2 100644 Binary files a/Launcher/Launcher_2.0_C.bin and b/Launcher/Launcher_2.0_C.bin differ diff --git a/Launcher/Launcher_2.0_Cardputer.bin b/Launcher/Launcher_2.0_Cardputer.bin index 5cf03fd..119511a 100644 Binary files a/Launcher/Launcher_2.0_Cardputer.bin and b/Launcher/Launcher_2.0_Cardputer.bin differ diff --git a/Launcher/Launcher_2.0_core2.bin b/Launcher/Launcher_2.0_core2.bin index df1104f..ac73664 100644 Binary files a/Launcher/Launcher_2.0_core2.bin and b/Launcher/Launcher_2.0_core2.bin differ diff --git a/Launcher/Launcher_2.0_core_16Mb.bin b/Launcher/Launcher_2.0_core_16Mb.bin index 799a530..a4da7d0 100644 Binary files a/Launcher/Launcher_2.0_core_16Mb.bin and b/Launcher/Launcher_2.0_core_16Mb.bin differ diff --git a/Launcher/Launcher_2.0_cplus1_1.bin b/Launcher/Launcher_2.0_cplus1_1.bin index 9f1b398..ef30f71 100644 Binary files a/Launcher/Launcher_2.0_cplus1_1.bin and b/Launcher/Launcher_2.0_cplus1_1.bin differ diff --git a/Launcher/Launcher_2.0_cplus2.bin b/Launcher/Launcher_2.0_cplus2.bin index e23a0eb..79a0040 100644 Binary files a/Launcher/Launcher_2.0_cplus2.bin and b/Launcher/Launcher_2.0_cplus2.bin differ diff --git a/src/display.cpp b/src/display.cpp index 42cae57..d0fd21d 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -349,13 +349,13 @@ void drawOptions(int index,const std::vector=MAX_MENU_SIZE) init=index-MAX_MENU_SIZE+1; - tft.fillRoundRect(WIDTH*0.15,HEIGHT/2-menuSize*(FONT_M*8+4)/2 -5,WIDTH*0.7,(FONT_M*8+4)*menuSize+10,5,bgcolor); for(i=0;i=init) { String text=""; diff --git a/src/main.cpp b/src/main.cpp index bcb6a8d..c4f516e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -262,6 +262,8 @@ void get_partition_sizes() { *********************************************************************/ void setup() { Serial.begin(115200); + tft.init(); + tft.fillScreen(TFT_DARKGREEN); // declare variables size_t currentIndex=0; @@ -273,7 +275,6 @@ void setup() { esp_app_desc_t ota_desc; esp_err_t err = esp_ota_get_partition_description(esp_ota_get_next_update_partition(NULL), &ota_desc); - tft.init(); // Setup GPIOs and stuff #if defined(STICK_C_PLUS2) pinMode(UP_BTN, INPUT); diff --git a/src/sd_functions.cpp b/src/sd_functions.cpp index d9c8c68..ef0e9be 100644 --- a/src/sd_functions.cpp +++ b/src/sd_functions.cpp @@ -299,7 +299,7 @@ void readFs(String folder, String result[][3]) { result[allFilesCount][1]=""; result[allFilesCount][2]=""; allFilesCount++; - if (allFilesCount