Clean up some includes
This commit is contained in:
parent
4145d85ef1
commit
928cd1b8ab
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
#include "encoder_i2c.h"
|
#include "encoder_i2c.h"
|
||||||
|
|
||||||
#include "../module/temperature.h"
|
|
||||||
#include "../module/stepper.h"
|
#include "../module/stepper.h"
|
||||||
#include "../gcode/parser.h"
|
#include "../gcode/parser.h"
|
||||||
|
|
||||||
|
@ -85,7 +84,7 @@ void I2CPositionEncoder::update() {
|
||||||
* the encoder would be re-enabled.
|
* the encoder would be re-enabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
#if 0
|
||||||
// If the magnetic strength has been good for a certain time, start trusting the module again
|
// If the magnetic strength has been good for a certain time, start trusting the module again
|
||||||
|
|
||||||
if (millis() - lastErrorTime > I2CPE_TIME_TRUSTED) {
|
if (millis() - lastErrorTime > I2CPE_TIME_TRUSTED) {
|
||||||
|
@ -111,7 +110,7 @@ void I2CPositionEncoder::update() {
|
||||||
SERIAL_ECHOLNPGM(")");
|
SERIAL_ECHOLNPGM(")");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
*/
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
|
|
||||||
#include "../inc/MarlinConfig.h" // for pins
|
#include "../inc/MarlinConfig.h" // for pins
|
||||||
#include "../module/planner.h"
|
#include "../module/planner.h"
|
||||||
#include "../module/temperature.h"
|
|
||||||
|
|
||||||
Joystick joystick;
|
Joystick joystick;
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
#include "../inc/MarlinConfigPre.h"
|
#include "../inc/MarlinConfigPre.h"
|
||||||
#include "../core/types.h"
|
#include "../core/types.h"
|
||||||
#include "../core/macros.h"
|
|
||||||
#include "../module/temperature.h"
|
|
||||||
|
|
||||||
class Joystick {
|
class Joystick {
|
||||||
friend class Temperature;
|
friend class Temperature;
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
#include "../../../feature/filwidth.h"
|
#include "../../../feature/filwidth.h"
|
||||||
#include "../../../module/planner.h"
|
#include "../../../module/planner.h"
|
||||||
#include "../../../module/temperature.h"
|
|
||||||
#include "../../../MarlinCore.h"
|
#include "../../../MarlinCore.h"
|
||||||
#include "../../gcode.h"
|
#include "../../gcode.h"
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include "../gcode.h"
|
#include "../gcode.h"
|
||||||
#include "../../feature/babystep.h"
|
#include "../../feature/babystep.h"
|
||||||
#include "../../module/probe.h"
|
#include "../../module/probe.h"
|
||||||
#include "../../module/temperature.h"
|
|
||||||
#include "../../module/planner.h"
|
#include "../../module/planner.h"
|
||||||
|
|
||||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||||
|
|
|
@ -33,11 +33,9 @@
|
||||||
#include "../../ui_api.h"
|
#include "../../ui_api.h"
|
||||||
|
|
||||||
#include "../../../../MarlinCore.h"
|
#include "../../../../MarlinCore.h"
|
||||||
#include "../../../../module/temperature.h"
|
|
||||||
#include "../../../../module/motion.h"
|
#include "../../../../module/motion.h"
|
||||||
#include "../../../../gcode/queue.h"
|
#include "../../../../gcode/queue.h"
|
||||||
#include "../../../../module/planner.h"
|
#include "../../../../module/planner.h"
|
||||||
#include "../../../../sd/cardreader.h"
|
|
||||||
#include "../../../../libs/duration_t.h"
|
#include "../../../../libs/duration_t.h"
|
||||||
#include "../../../../module/printcounter.h"
|
#include "../../../../module/printcounter.h"
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
#include "../../../../gcode/gcode.h"
|
#include "../../../../gcode/gcode.h"
|
||||||
#include "../../../../gcode/queue.h"
|
#include "../../../../gcode/queue.h"
|
||||||
#include "../../../../module/planner.h"
|
#include "../../../../module/planner.h"
|
||||||
#include "../../../../module/temperature.h"
|
|
||||||
#include "../../../../inc/MarlinConfig.h"
|
#include "../../../../inc/MarlinConfig.h"
|
||||||
|
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include <lv_conf.h>
|
#include <lv_conf.h>
|
||||||
|
|
||||||
#include "../../../../gcode/gcode.h"
|
#include "../../../../gcode/gcode.h"
|
||||||
#include "../../../../module/temperature.h"
|
|
||||||
#include "../../../../module/planner.h"
|
#include "../../../../module/planner.h"
|
||||||
#include "../../../../module/motion.h"
|
#include "../../../../module/motion.h"
|
||||||
#include "../../../../sd/cardreader.h"
|
#include "../../../../sd/cardreader.h"
|
||||||
|
|
|
@ -91,7 +91,6 @@ Stepper stepper; // Singleton
|
||||||
#include "planner.h"
|
#include "planner.h"
|
||||||
#include "motion.h"
|
#include "motion.h"
|
||||||
|
|
||||||
#include "temperature.h"
|
|
||||||
#include "../lcd/marlinui.h"
|
#include "../lcd/marlinui.h"
|
||||||
#include "../gcode/queue.h"
|
#include "../gcode/queue.h"
|
||||||
#include "../sd/cardreader.h"
|
#include "../sd/cardreader.h"
|
||||||
|
|
Loading…
Reference in a new issue