Move G31_G32 to cpp

This commit is contained in:
Scott Lahteine
2017-09-15 23:31:06 -05:00
parent 9db5d21837
commit b8adae0785
3 changed files with 13 additions and 10 deletions

View File

@ -20,12 +20,21 @@
*
*/
#include "../../inc/MarlinConfig.h"
#if ENABLED(Z_PROBE_SLED)
#include "../gcode.h"
#include "../../module/probe.h"
/**
* G31: Deploy the Z probe
*/
void gcode_G31() { DEPLOY_PROBE(); }
void GcodeSuite::G31() { DEPLOY_PROBE(); }
/**
* G32: Stow the Z probe
*/
void gcode_G32() { STOW_PROBE(); }
void GcodeSuite::G32() { STOW_PROBE(); }
#endif // Z_PROBE_SLED