Fix G28 debug line, M569 calls (#16213)
This commit is contained in:
parent
9d6b2ebf50
commit
6e8dcba698
@ -262,7 +262,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
|||||||
|
|
||||||
#if HAS_HOMING_CURRENT
|
#if HAS_HOMING_CURRENT
|
||||||
auto debug_current = [](const char * const s, const int16_t a, const int16_t b){
|
auto debug_current = [](const char * const s, const int16_t a, const int16_t b){
|
||||||
DEBUG_ECHO(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b);
|
DEBUG_ECHO(s); DEBUG_ECHOLNPAIR(" current: ", a, " -> ", b);
|
||||||
};
|
};
|
||||||
#if HAS_CURRENT_HOME(X)
|
#if HAS_CURRENT_HOME(X)
|
||||||
const int16_t tmc_save_current_X = stepperX.getMilliamps();
|
const int16_t tmc_save_current_X = stepperX.getMilliamps();
|
||||||
@ -288,7 +288,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
|||||||
|
|
||||||
#if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
|
#if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
|
||||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to spreadCycle...");
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to spreadCycle...");
|
||||||
process_subcommands_now_P(PSTR("M569S0XY"));
|
process_subcommands_now_P(PSTR("M569 S0 X Y"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
|
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
|
||||||
@ -517,7 +517,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
|||||||
|
|
||||||
#if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
|
#if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
|
||||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to StealthChop...");
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to StealthChop...");
|
||||||
process_subcommands_now_P(PSTR("M569S1XY"));
|
process_subcommands_now_P(PSTR("M569 S1 X Y"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ui.refresh();
|
ui.refresh();
|
||||||
|
Loading…
Reference in New Issue
Block a user