Browse Source

Clean up some pre-serial-redirect includes

pull/1/head
Scott Lahteine 6 years ago
parent
commit
3f36a38512
  1. 4
      Marlin/src/gcode/config/M217.cpp
  2. 4
      Marlin/src/gcode/eeprom/M500-M504.cpp
  3. 4
      Marlin/src/gcode/host/M115.cpp
  4. 4
      Marlin/src/gcode/stats/M31.cpp
  5. 4
      Marlin/src/gcode/temperature/M105.cpp

4
Marlin/src/gcode/config/M217.cpp

@ -27,10 +27,6 @@
#include "../gcode.h" #include "../gcode.h"
#include "../../module/tool_change.h" #include "../../module/tool_change.h"
#if NUM_SERIAL > 1
#include "../../gcode/queue.h"
#endif
void M217_report(const bool eeprom=false) { void M217_report(const bool eeprom=false) {
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP) #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)

4
Marlin/src/gcode/eeprom/M500-M504.cpp

@ -29,10 +29,6 @@
#include "../../lcd/extensible_ui/ui_api.h" #include "../../lcd/extensible_ui/ui_api.h"
#endif #endif
#if NUM_SERIAL > 1
#include "../../gcode/queue.h"
#endif
/** /**
* M500: Store settings in EEPROM * M500: Store settings in EEPROM
*/ */

4
Marlin/src/gcode/host/M115.cpp

@ -23,10 +23,6 @@
#include "../gcode.h" #include "../gcode.h"
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfig.h"
#if NUM_SERIAL > 1
#include "../../gcode/queue.h"
#endif
#if ENABLED(EXTENDED_CAPABILITIES_REPORT) #if ENABLED(EXTENDED_CAPABILITIES_REPORT)
static void cap_line(PGM_P const name, bool ena=false) { static void cap_line(PGM_P const name, bool ena=false) {
SERIAL_ECHOPGM("Cap:"); SERIAL_ECHOPGM("Cap:");

4
Marlin/src/gcode/stats/M31.cpp

@ -26,10 +26,6 @@
#include "../../libs/duration_t.h" #include "../../libs/duration_t.h"
#include "../../lcd/ultralcd.h" #include "../../lcd/ultralcd.h"
#if NUM_SERIAL > 1
#include "../../gcode/queue.h"
#endif
/** /**
* M31: Get the time since the start of SD Print (or last M109) * M31: Get the time since the start of SD Print (or last M109)
*/ */

4
Marlin/src/gcode/temperature/M105.cpp

@ -23,10 +23,6 @@
#include "../gcode.h" #include "../gcode.h"
#include "../../module/temperature.h" #include "../../module/temperature.h"
#if NUM_SERIAL > 1
#include "../../gcode/queue.h"
#endif
/** /**
* M105: Read hot end and bed temperature * M105: Read hot end and bed temperature
*/ */

Loading…
Cancel
Save