diff --git a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp index a783bb36da8d..a470b3e9f04f 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp @@ -70,6 +70,8 @@ #define SIZE_OF_LITTLE_RAISE 1 #define BIG_RAISE_NOT_NEEDED 0 +G29_parameters_t unified_bed_leveling::param; + /** * @brief G29: Unified Bed Leveling by Roxy * @@ -302,9 +304,6 @@ * 3-Point and Grid Based leveling. Combining their contributions we now have the functionality and * features of all three systems combined */ - -G29_parameters_t unified_bed_leveling::param; - void unified_bed_leveling::G29() { bool probe_deployed = false; diff --git a/Marlin/src/gcode/bedlevel/G26.cpp b/Marlin/src/gcode/bedlevel/G26.cpp index d255d59fa2fb..f086075d08bf 100644 --- a/Marlin/src/gcode/bedlevel/G26.cpp +++ b/Marlin/src/gcode/bedlevel/G26.cpp @@ -479,6 +479,10 @@ typedef struct { * @details Used to interactively edit the mesh by placing the * nozzle in a problem area and doing a G29 P4 R command * + * Usage: + * G26 [B] [C] [D] [F] [H] [I] [K] [L] + * [O] [P] [Q] [R] [S] [U] [X] [Y] + * * Parameters: * * @param B Bed Temperature diff --git a/Marlin/src/gcode/calibrate/G76_M871.cpp b/Marlin/src/gcode/calibrate/G76_M871.cpp index ee99d242a14d..cb8b3f87f78f 100644 --- a/Marlin/src/gcode/calibrate/G76_M871.cpp +++ b/Marlin/src/gcode/calibrate/G76_M871.cpp @@ -37,6 +37,13 @@ #include "../../feature/probe_temp_comp.h" #include "../../lcd/marlinui.h" +#if ALL(PTC_PROBE, PTC_BED) + + static void say_waiting_for() { SERIAL_ECHOPGM("Waiting for "); } + static void say_waiting_for_probe_heating() { say_waiting_for(); SERIAL_ECHOLNPGM("probe heating."); } + static void say_successfully_calibrated() { SERIAL_ECHOPGM("Successfully calibrated"); } + static void say_failed_to_calibrate() { SERIAL_ECHOPGM("!Failed to calibrate"); } + /** * @brief G76: Calibrate probe and/or bed temperature offsets * @@ -85,14 +92,6 @@ * so the hotend fan would not cool my probe constantly. Alternatively you could just * make sure the fan is not running while running the calibration process */ - -#if ALL(PTC_PROBE, PTC_BED) - - static void say_waiting_for() { SERIAL_ECHOPGM("Waiting for "); } - static void say_waiting_for_probe_heating() { say_waiting_for(); SERIAL_ECHOLNPGM("probe heating."); } - static void say_successfully_calibrated() { SERIAL_ECHOPGM("Successfully calibrated"); } - static void say_failed_to_calibrate() { SERIAL_ECHOPGM("!Failed to calibrate"); } - void GcodeSuite::G76() { auto report_temps = [](millis_t &ntr, millis_t timeout=0) { idle_no_sleep(); diff --git a/Marlin/src/gcode/probe/M851.cpp b/Marlin/src/gcode/probe/M851.cpp index df4080ed997e..209db8c9bc7d 100644 --- a/Marlin/src/gcode/probe/M851.cpp +++ b/Marlin/src/gcode/probe/M851.cpp @@ -30,7 +30,7 @@ /** * @brief M851: Set the nozzle-to-probe offsets in current units - + * * Usage: * M851 [X] [Y] [Z] *