Complete rewrite of anycubic tft code structure + cleanup for upcoming Chiron BBL feature.

This commit is contained in:
Knutwurst
2021-02-18 18:18:38 +01:00
parent 72d48a5ef8
commit 7f56178d13
4 changed files with 1368 additions and 1327 deletions

View File

@@ -51,6 +51,7 @@
#include "stepper.h"
#include "temperature.h"
#include "../lcd/ultralcd.h"
#include "../lcd/anycubic_touchscreen.h"
#include "../core/language.h"
#include "../libs/vector_3.h" // for matrix_3x3
#include "../gcode/gcode.h"
@@ -718,6 +719,11 @@ void MarlinSettings::postprocess() {
EEPROM_WRITE(bilinear_grid_spacing);
EEPROM_WRITE(bilinear_start);
#if ENABLED(KNUTWURST_TFT_LEVELING)
z_values_index = eeprom_index;
z_values_size = sizeof(z_values);
#endif
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
EEPROM_WRITE(z_values); // 9-256 floats
#else