Add CNC-like G-code options

This commit is contained in:
thesfreader
2018-10-05 09:35:55 +02:00
committed by Scott Lahteine
parent 33056046a3
commit e09c144674
4 changed files with 136 additions and 29 deletions

View File

@@ -78,12 +78,21 @@ public:
static char *command_ptr, // The command, so it can be echoed
*string_arg; // string of command line
static char command_letter; // G, M, or T
static int codenum; // 123
#if USE_GCODE_SUBCODES
static uint8_t subcode; // .1
#endif
#if ENABLED(STICKY_MOVE_MODE)
static int current_motion_mode_codenum;
#if USE_GCODE_SUBCODES
static uint8_t current_motion_mode_subcode;
#endif
#endif
#if ENABLED(DEBUG_GCODE_PARSER)
static void debug();
#endif