Move M48 to cpp
This commit is contained in:
@ -20,6 +20,18 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
|
||||
|
||||
#include "../gcode.h"
|
||||
#include "../../module/motion.h"
|
||||
#include "../../module/probe.h"
|
||||
|
||||
#if DISABLED(DELTA)
|
||||
#include "../../feature/bedlevel/bedlevel.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* M48: Z probe repeatability measurement function.
|
||||
*
|
||||
@ -38,7 +50,7 @@
|
||||
* Any information generated by a prior G29 Bed leveling command will be lost and need to be
|
||||
* regenerated.
|
||||
*/
|
||||
void gcode_M48() {
|
||||
void GcodeSuite::M48() {
|
||||
|
||||
if (axis_unhomed_error()) return;
|
||||
|
||||
@ -271,3 +283,5 @@ void gcode_M48() {
|
||||
|
||||
report_current_position();
|
||||
}
|
||||
|
||||
#endif // Z_MIN_PROBE_REPEATABILITY_TEST
|
Reference in New Issue
Block a user