From 97f66a6a13ea93f7a1700301d779227d8199b34e Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Thu, 27 May 2021 23:38:07 +0200 Subject: [PATCH] Remove ignored/incorrect PROGMEM This PROGMEM is currently ignored by gcc, but even if it wasn't it wouldn't be correct since the following code is expecting to read "item" without fetching the array itself from PROGMEM. --- Firmware/ultralcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 6cf542dd6..dfb4a5b24 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -6006,7 +6006,7 @@ char reset_menu() { int8_t enc_dif = 0; char cursor_pos = 0; - const char *const item[items_no] PROGMEM = {PSTR("Language"), PSTR("Statistics"), PSTR("Shipping prep"), PSTR("Service prep"), PSTR("All Data") + const char *const item[items_no] = {PSTR("Language"), PSTR("Statistics"), PSTR("Shipping prep"), PSTR("Service prep"), PSTR("All Data") #ifdef SNMM , PSTR("Bowden length") #endif