Initial split-up of G-code handlers by category
This commit is contained in:
@@ -21,29 +21,18 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* gcode.h - Parser for a GCode line, providing a parameter interface.
|
||||
* parser.h - Parser for a GCode line, providing a parameter interface.
|
||||
* Codes like M149 control the way the GCode parser behaves,
|
||||
* so settings for these codes are located in this class.
|
||||
*/
|
||||
|
||||
#ifndef GCODE_H
|
||||
#define GCODE_H
|
||||
#ifndef _PARSER_H_
|
||||
#define _PARSER_H_
|
||||
|
||||
#include "enum.h"
|
||||
#include "types.h"
|
||||
#include "MarlinConfig.h"
|
||||
#include "../inc/MarlinConfig.h"
|
||||
|
||||
//#define DEBUG_GCODE_PARSER
|
||||
|
||||
#if ENABLED(DEBUG_GCODE_PARSER)
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
extern char* hex_address(const void * const w);
|
||||
#else
|
||||
#include "hex_print_routines.h"
|
||||
#endif
|
||||
#include "serial.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(INCH_MODE_SUPPORT)
|
||||
extern bool volumetric_enabled;
|
||||
#endif
|
||||
@@ -320,4 +309,4 @@ public:
|
||||
|
||||
extern GCodeParser parser;
|
||||
|
||||
#endif // GCODE_H
|
||||
#endif // _PARSER_H_
|
||||
|
||||
Reference in New Issue
Block a user