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:
@@ -35,10 +35,6 @@
|
|||||||
#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(AUTO_BED_LEVELING_LINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
||||||
#include "../../../libs/least_squares_fit.h"
|
#include "../../../libs/least_squares_fit.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -812,8 +808,7 @@ G29_TYPE GcodeSuite::G29() {
|
|||||||
TERN_(IS_KINEMATIC, bedlevel.extrapolate_unprobed_bed_level());
|
TERN_(IS_KINEMATIC, bedlevel.extrapolate_unprobed_bed_level());
|
||||||
|
|
||||||
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
||||||
HARDWARE_SERIAL_PROTOCOLPGM("J25"); // Autoleveling done!
|
LCD_SERIAL.print("J25\r\n"); // Autoleveling done!
|
||||||
HARDWARE_SERIAL_ENTER();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bedlevel.refresh_bed_level();
|
bedlevel.refresh_bed_level();
|
||||||
|
@@ -1945,9 +1945,9 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 30: // A30 auto leveling (Old Anycubic TFT)
|
case 30: // A30 auto leveling (Old Anycubic TFT)
|
||||||
if ((planner.movesplanned()) || (card.isPrinting())) {
|
if ((planner.movesplanned()) || (card.isPrinting()))
|
||||||
SENDLINE_DBG_PGM("J24", "TFT Serial Debug: Forbid auto leveling... J24");
|
SENDLINE_DBG_PGM("J24", "TFT Serial Debug: Forbid auto leveling... J24");
|
||||||
else {
|
else
|
||||||
SENDLINE_DBG_PGM("J26", "TFT Serial Debug: Start auto leveling... J26");
|
SENDLINE_DBG_PGM("J26", "TFT Serial Debug: Start auto leveling... J26");
|
||||||
if (CodeSeen('S'))
|
if (CodeSeen('S'))
|
||||||
queue.enqueue_now_P(PSTR("G28\nG29\nM500\nG90\nM300 S440 P200\nM300 S660 P250\nM300 S880 P300\nG1 Z30 F4000\nG1 X0 F4000\nG91\nM84"));
|
queue.enqueue_now_P(PSTR("G28\nG29\nM500\nG90\nM300 S440 P200\nM300 S660 P250\nM300 S880 P300\nG1 Z30 F4000\nG1 X0 F4000\nG91\nM84"));
|
||||||
|
Reference in New Issue
Block a user