Recreate Chiron ABL TFT feature

This commit is contained in:
Knutwurst
2021-11-10 11:48:33 +01:00
parent 33a90d329b
commit 62e2473450
2 changed files with 9 additions and 9 deletions

View File

@@ -36,6 +36,10 @@
#include "../../../module/probe.h" #include "../../../module/probe.h"
#include "../../queue.h" #include "../../queue.h"
#if ENABLED(KNUTWURST_TFT_LEVELING)
#include "../../../lcd/HardwareSerial.h"
#endif
#if ENABLED(PROBE_TEMP_COMPENSATION) #if ENABLED(PROBE_TEMP_COMPENSATION)
#include "../../../feature/probe_temp_comp.h" #include "../../../feature/probe_temp_comp.h"
#include "../../../module/temperature.h" #include "../../../module/temperature.h"
@@ -738,6 +742,11 @@ G29_TYPE GcodeSuite::G29() {
if (!abl.dryrun) extrapolate_unprobed_bed_level(); if (!abl.dryrun) extrapolate_unprobed_bed_level();
print_bilinear_leveling_grid(); print_bilinear_leveling_grid();
#if ENABLED(KNUTWURST_TFT_LEVELING)
HARDWARE_SERIAL_PROTOCOLPGM("J25"); // Autoleveling done!
HARDWARE_SERIAL_ENTER();
#endif
refresh_bed_level(); refresh_bed_level();
TERN_(ABL_BILINEAR_SUBDIVISION, print_bilinear_leveling_grid_virt()); TERN_(ABL_BILINEAR_SUBDIVISION, print_bilinear_leveling_grid_virt());

View File

@@ -637,15 +637,6 @@ src_filter = ${common.default_src_filter} +<src/HAL/AVR>
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_4MAXP2 -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_4MAXP2 -DKNUTWURST_ONE_Z_ENDSTOP -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_MEGA_X -DKNUTWURST_CHIRON -DKNUTWURST_4MAX -DKNUTWURST_BMG -DKNUTWURST_DGUS2_TFT build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_P -DKNUTWURST_MEGA_X -DKNUTWURST_CHIRON -DKNUTWURST_4MAX -DKNUTWURST_BMG -DKNUTWURST_DGUS2_TFT
[env:4MAXP2_DGUS] [env:4MAXP2_DGUS]
platform = atmelavr platform = atmelavr
board = megaatmega2560 board = megaatmega2560