diff --git a/Marlin/src/gcode/bedlevel/abl/G29.cpp b/Marlin/src/gcode/bedlevel/abl/G29.cpp index 0eb13dba..21707ea9 100644 --- a/Marlin/src/gcode/bedlevel/abl/G29.cpp +++ b/Marlin/src/gcode/bedlevel/abl/G29.cpp @@ -36,6 +36,10 @@ #include "../../../module/probe.h" #include "../../queue.h" +#if ENABLED(KNUTWURST_TFT_LEVELING) + #include "../../../lcd/HardwareSerial.h" +#endif + #if ENABLED(PROBE_TEMP_COMPENSATION) #include "../../../feature/probe_temp_comp.h" #include "../../../module/temperature.h" @@ -738,6 +742,11 @@ G29_TYPE GcodeSuite::G29() { if (!abl.dryrun) extrapolate_unprobed_bed_level(); print_bilinear_leveling_grid(); + #if ENABLED(KNUTWURST_TFT_LEVELING) + HARDWARE_SERIAL_PROTOCOLPGM("J25"); // Autoleveling done! + HARDWARE_SERIAL_ENTER(); + #endif + refresh_bed_level(); TERN_(ABL_BILINEAR_SUBDIVISION, print_bilinear_leveling_grid_virt()); diff --git a/ini/i3_mega.ini b/ini/i3_mega.ini index f6a226b9..7511b667 100755 --- a/ini/i3_mega.ini +++ b/ini/i3_mega.ini @@ -637,15 +637,6 @@ src_filter = ${common.default_src_filter} + 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 - - - - - - - - - [env:4MAXP2_DGUS] platform = atmelavr board = megaatmega2560