Update includes for gcode.h => parser.h

This commit is contained in:
Scott Lahteine
2018-03-14 00:57:08 -05:00
parent 00165699e9
commit ccb2a95456
13 changed files with 19 additions and 20 deletions

View File

@@ -33,7 +33,7 @@
#include "stepper.h" #include "stepper.h"
#include "temperature.h" #include "temperature.h"
#include "ultralcd.h" #include "ultralcd.h"
#include "gcode.h" #include "parser.h"
#include "serial.h" #include "serial.h"
#include "bitmap_flags.h" #include "bitmap_flags.h"

View File

@@ -36,7 +36,7 @@
#include "temperature.h" #include "temperature.h"
#include "stepper.h" #include "stepper.h"
#include "I2CPositionEncoder.h" #include "I2CPositionEncoder.h"
#include "gcode.h" #include "parser.h"
#include <Wire.h> #include <Wire.h>

View File

@@ -54,7 +54,7 @@
#define M100_FREE_MEMORY_CORRUPTOR // Enable for the `M100 C` Corrupt sub-command #define M100_FREE_MEMORY_CORRUPTOR // Enable for the `M100 C` Corrupt sub-command
#include "Marlin.h" #include "Marlin.h"
#include "gcode.h" #include "parser.h"
#include "hex_print_routines.h" #include "hex_print_routines.h"
#define TEST_BYTE ((char) 0xE5) #define TEST_BYTE ((char) 0xE5)

View File

@@ -35,7 +35,7 @@
#include "MarlinConfig.h" #include "MarlinConfig.h"
#ifdef DEBUG_GCODE_PARSER #ifdef DEBUG_GCODE_PARSER
#include "gcode.h" #include "parser.h"
#endif #endif
#include "enum.h" #include "enum.h"

View File

@@ -263,7 +263,7 @@
#include "printcounter.h" #include "printcounter.h"
#include "duration_t.h" #include "duration_t.h"
#include "types.h" #include "types.h"
#include "gcode.h" #include "parser.h"
#if ENABLED(AUTO_POWER_CONTROL) #if ENABLED(AUTO_POWER_CONTROL)
#include "power.h" #include "power.h"

View File

@@ -52,7 +52,7 @@
#include "temperature.h" #include "temperature.h"
#include "ultralcd.h" #include "ultralcd.h"
#include "stepper.h" #include "stepper.h"
#include "gcode.h" #include "parser.h"
#include "vector_3.h" #include "vector_3.h"
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)

View File

@@ -21,7 +21,7 @@
*/ */
#include "MarlinConfig.h" #include "MarlinConfig.h"
#include "gcode.h" #include "parser.h"
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER) #if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER)

View File

@@ -52,7 +52,7 @@
#include "stepper.h" #include "stepper.h"
#include "duration_t.h" #include "duration_t.h"
#include "printcounter.h" #include "printcounter.h"
#include "gcode.h" #include "parser.h"
#include "configuration_store.h" #include "configuration_store.h"
#include "Marlin.h" #include "Marlin.h"

View File

@@ -21,10 +21,10 @@
*/ */
/** /**
* gcode.cpp - Parser for a GCode line, providing a parameter interface. * parser.cpp - Parser for a GCode line, providing a parameter interface.
*/ */
#include "gcode.h" #include "parser.h"
#include "Marlin.h" #include "Marlin.h"
#include "language.h" #include "language.h"

View File

@@ -21,20 +21,19 @@
*/ */
/** /**
* 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, * Codes like M149 control the way the GCode parser behaves,
* so settings for these codes are located in this class. * so settings for these codes are located in this class.
*/ */
#ifndef GCODE_H #ifndef _PARSER_H_
#define GCODE_H #define _PARSER_H_
#include "enum.h" #include "enum.h"
#include "types.h" #include "types.h"
#include "MarlinConfig.h" #include "MarlinConfig.h"
//#define DEBUG_GCODE_PARSER //#define DEBUG_GCODE_PARSER
#if ENABLED(DEBUG_GCODE_PARSER) #if ENABLED(DEBUG_GCODE_PARSER)
#include "hex_print_routines.h" #include "hex_print_routines.h"
#include "serial.h" #include "serial.h"
@@ -331,4 +330,4 @@ public:
extern GCodeParser parser; extern GCodeParser parser;
#endif // GCODE_H #endif // _PARSER_H_

View File

@@ -63,7 +63,7 @@
#include "temperature.h" #include "temperature.h"
#include "ultralcd.h" #include "ultralcd.h"
#include "language.h" #include "language.h"
#include "gcode.h" #include "parser.h"
#include "Marlin.h" #include "Marlin.h"

View File

@@ -33,7 +33,7 @@
#include "ultralcd.h" #include "ultralcd.h"
#include "stepper.h" #include "stepper.h"
#include "planner.h" #include "planner.h"
#include "gcode.h" #include "parser.h"
#include "serial.h" #include "serial.h"
#include "bitmap_flags.h" #include "bitmap_flags.h"

View File

@@ -33,7 +33,7 @@
#include "stepper.h" #include "stepper.h"
#include "configuration_store.h" #include "configuration_store.h"
#include "utility.h" #include "utility.h"
#include "gcode.h" #include "parser.h"
#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER) #if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER)
#include "buzzer.h" #include "buzzer.h"