fix regression from LCD_SERIAL migration for CHIRON targets

fixes fd58245bd2

There is an extension to the G29 implementation that sends a J25
notification to the external display. This must not use the
HardwareSerial implementation anymore.

there are also two leftover opening parenthesis in the command scaning
loop within the Chiron block that must be removed.
This commit is contained in:
Stefan Kalscheuer
2022-12-22 09:20:12 +01:00
parent bd5eba2a0c
commit affad24f74
2 changed files with 3 additions and 8 deletions

View File

@@ -35,10 +35,6 @@
#include "../../../module/probe.h"
#include "../../queue.h"
#if ENABLED(KNUTWURST_TFT_LEVELING)
#include "../../../lcd/HardwareSerial.h"
#endif
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
#include "../../../libs/least_squares_fit.h"
#endif
@@ -812,8 +808,7 @@ G29_TYPE GcodeSuite::G29() {
TERN_(IS_KINEMATIC, bedlevel.extrapolate_unprobed_bed_level());
#if ENABLED(KNUTWURST_TFT_LEVELING)
HARDWARE_SERIAL_PROTOCOLPGM("J25"); // Autoleveling done!
HARDWARE_SERIAL_ENTER();
LCD_SERIAL.print("J25\r\n"); // Autoleveling done!
#endif
bedlevel.refresh_bed_level();