Move M401_M402 to cpp
This commit is contained in:
1 parent
0589884d26
commit
1fe25271e4
3 files changed
+13
-15
No files matched your search
@@ -20,13 +20,21 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
|
||||
#include "../gcode.h"
|
||||
#include "../../module/probe.h"
|
||||
|
||||
/**
|
||||
* M401: Engage Z Servo endstop if available
|
||||
*/
|
||||
void gcode_M401() { DEPLOY_PROBE(); }
|
||||
void GcodeSuite::M401() { DEPLOY_PROBE(); }
|
||||
|
||||
/**
|
||||
* M402: Retract Z Servo endstop if enabled
|
||||
*/
|
||||
void gcode_M402() { STOW_PROBE(); }
|
||||
void GcodeSuite::M402() { STOW_PROBE(); }
|
||||
|
||||
#endif // HAS_BED_PROBE
|
||||
Reference in new issue
Block a user