Move G17-G19 to cpp

This commit is contained in:
Scott Lahteine
2017-09-15 23:08:48 -05:00
parent 94d9def81c
commit 9b4aa5ea8b
6 changed files with 42 additions and 31 deletions

View File

@ -256,6 +256,15 @@ public:
static bool axis_relative_modes[];
#if ENABLED(CNC_WORKSPACE_PLANES)
/**
* Workspace planes only apply to G2/G3 moves
* (and "canned cycles" - not a current feature)
*/
enum WorkspacePlane { PLANE_XY, PLANE_ZX, PLANE_YZ };
static WorkspacePlane workspace_plane;
#endif
static millis_t previous_cmd_ms;
FORCE_INLINE static void refresh_cmd_timeout() { previous_cmd_ms = millis(); }