diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index f2a9ba9d..8bf5962d 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -1265,9 +1265,11 @@ void setup() /// } lang_select(0); puts_P(_n("\nNew ML support")); - printf_P(_n(" lang_selected =%d\n"), lang_selected); - printf_P(_n(" &_SEC_LANG =%04x\n"), &_SEC_LANG); - printf_P(_n(" sizeof(_SEC_LANG) =%04x\n"), sizeof(_SEC_LANG)); + printf_P(_n(" lang_selected = %d\n"), lang_selected); + printf_P(_n(" &_SEC_LANG = 0x%04x\n"), &_SEC_LANG); + printf_P(_n(" sizeof(_SEC_LANG) = 0x%04x\n"), sizeof(_SEC_LANG)); + uint16_t ptr_lang_table0 = ((uint16_t)(&_SEC_LANG) + 0xff) & 0xff00; + printf_P(_n(" &_lang_table0 = 0x%04x\n"), ptr_lang_table0); puts_P(_n("\n")); diff --git a/Firmware/config.h b/Firmware/config.h index 14e88247..a90cad5a 100644 --- a/Firmware/config.h +++ b/Firmware/config.h @@ -21,7 +21,7 @@ //LANG - Multi-language support //#define LANG_MODE 0 // primary language only #define LANG_MODE 1 // sec. language support -#define LANG_SIZE_RESERVED 0x3000 // reserved space for secondary language (12kb) +#define LANG_SIZE_RESERVED 0x2800 // reserved space for secondary language (10kb) #endif //_CONFIG_H