Move G92 to cpp

This commit is contained in:
Scott Lahteine committed 2017-09-21 16:26:52 -05:00
1 parent 931aa79d85
commit 04376975ce
3 files changed
+11 -6

No files matched your search

@@ -20,10 +20,18 @@
*
*/
#include "../gcode.h"
#include "../../module/motion.h"
#include "../../module/stepper.h"
#if ENABLED(I2C_POSITION_ENCODERS)
#include "../../feature/I2CPositionEncoder.h"
#endif
/**
* G92: Set current position to given X Y Z E
*/
void gcode_G92() {
void GcodeSuite::G92() {
bool didXYZ = false,
didE = parser.seenval('E');