diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index ba119363..311de431 100755 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -205,7 +205,7 @@ * :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7] */ //#define SERIAL_PORT_2 2 // For ESP8266 -#define BAUDRATE_2 500000 // For ESP8266 +//#define BAUDRATE_2 500000 // For ESP8266 /** * Select a third serial port on the board to use for communication with the host. diff --git a/Marlin/src/module/settings.cpp b/Marlin/src/module/settings.cpp index 9a19f1ab..6ef02d40 100644 --- a/Marlin/src/module/settings.cpp +++ b/Marlin/src/module/settings.cpp @@ -49,7 +49,7 @@ #include "planner.h" #include "stepper.h" #include "temperature.h" - +#include "../lcd/anycubic_touchscreen.h" #include "../lcd/marlinui.h" #include "../libs/vector_3.h" // for matrix_3x3 #include "../gcode/gcode.h" @@ -1672,6 +1672,12 @@ void MarlinSettings::postprocess() { if (!validating) set_bed_leveling_enabled(false); EEPROM_READ(bilinear_grid_spacing); // 2 ints EEPROM_READ(bilinear_start); // 2 ints + + #if ENABLED(KNUTWURST_TFT_LEVELING) + z_values_index = eeprom_index; + z_values_size = sizeof(z_values); + #endif + EEPROM_READ(z_values); // 9 to 256 floats } else // EEPROM data is stale