Skip to content

Commit

Permalink
fix some header / dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 25, 2022
1 parent 4200ba5 commit df416e6
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 18 deletions.
1 change: 0 additions & 1 deletion Marlin/src/gcode/bedlevel/G26.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@

#include "../../MarlinCore.h"
#include "../../module/planner.h"
#include "../../module/stepper.h"
#include "../../module/motion.h"
#include "../../module/tool_change.h"
#include "../../module/temperature.h"
Expand Down
1 change: 0 additions & 1 deletion Marlin/src/gcode/bedlevel/abl/G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "../../../feature/bedlevel/bedlevel.h"
#include "../../../module/motion.h"
#include "../../../module/planner.h"
#include "../../../module/stepper.h"
#include "../../../module/probe.h"
#include "../../queue.h"

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/bedlevel/mbl/G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "../../../libs/buzzer.h"
#include "../../../lcd/marlinui.h"
#include "../../../module/motion.h"
#include "../../../module/stepper.h"
#include "../../../module/planner.h"

#if ENABLED(EXTENSIBLE_UI)
#include "../../../lcd/extui/ui_api.h"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/G33.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "../gcode.h"
#include "../../module/delta.h"
#include "../../module/motion.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"
#include "../../module/endstops.h"
#include "../../lcd/marlinui.h"

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/config/M540.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#if ENABLED(SD_ABORT_ON_ENDSTOP_HIT)

#include "../gcode.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"

/**
* M540: Set whether SD card print should abort on endstop hit (M540 S<0|1>)
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/control/M226.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "../gcode.h"
#include "../../MarlinCore.h" // for pin_is_protected and idle()
#include "../../module/stepper.h"
#include "../../module/planner.h"

void protected_pin_err();

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/control/M3-M5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "../gcode.h"
#include "../../feature/spindle_laser.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"

/**
* Laser:
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/control/M400.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

#include "../gcode.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"

/**
* M400: Finish all moves
Expand Down
1 change: 0 additions & 1 deletion Marlin/src/gcode/control/M605.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#include "../gcode.h"
#include "../../module/motion.h"
#include "../../module/stepper.h"
#include "../../module/tool_change.h"
#include "../../module/planner.h"

Expand Down
1 change: 0 additions & 1 deletion Marlin/src/gcode/feature/advance/M900.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "../../gcode.h"
#include "../../../module/planner.h"
#include "../../../module/stepper.h"

#if ENABLED(EXTRA_LIN_ADVANCE_K)
float other_extruder_advance_K[EXTRUDERS];
Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/gcode/geometry/G53-G59.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

#if ENABLED(CNC_COORDINATE_SYSTEMS)

#include "../../module/stepper.h"

//#define DEBUG_M53

/**
Expand Down
1 change: 0 additions & 1 deletion Marlin/src/gcode/geometry/G92.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include "../gcode.h"
#include "../../module/motion.h"
#include "../../module/stepper.h"

#if ENABLED(I2C_POSITION_ENCODERS)
#include "../../feature/encoder_i2c.h"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/motion/G0_G1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "../../sd/cardreader.h"

#if ENABLED(NANODLP_Z_SYNC)
#include "../../module/stepper.h"
#include "../../module/planner.h"
#endif

extern xyze_pos_t destination;
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/motion/G4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

#include "../gcode.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"
#include "../../lcd/marlinui.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/gcode/probe/G38.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include "../../module/endstops.h"
#include "../../module/motion.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"
#include "../../module/probe.h"

inline void G38_single_probe(const uint8_t move_value) {
Expand Down
2 changes: 0 additions & 2 deletions Marlin/src/module/stepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,6 @@ class Stepper {
la_advance_steps; // Count of steps added to increase nozzle pressure
#endif

friend class GcodeSuite;

#if ENABLED(INTEGRATED_BABYSTEPPING)
static constexpr uint32_t BABYSTEP_NEVER = 0xFFFFFFFF;
static uint32_t nextBabystepISR;
Expand Down

0 comments on commit df416e6

Please sign in to comment.