Clean up some includes

This commit is contained in:
Scott Lahteine
2021-01-08 15:07:35 -06:00
parent 71921bc9b2
commit acda53aa1c
9 changed files with 2 additions and 13 deletions

View File

@@ -34,7 +34,6 @@
#include "encoder_i2c.h"
#include "../module/temperature.h"
#include "../module/stepper.h"
#include "../gcode/parser.h"
@@ -85,7 +84,7 @@ void I2CPositionEncoder::update() {
* 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 (millis() - lastErrorTime > I2CPE_TIME_TRUSTED) {
@@ -111,7 +110,7 @@ void I2CPositionEncoder::update() {
SERIAL_ECHOLNPGM(")");
#endif
}
*/
#endif
return;
}

View File

@@ -32,7 +32,6 @@
#include "../inc/MarlinConfig.h" // for pins
#include "../module/planner.h"
#include "../module/temperature.h"
Joystick joystick;

View File

@@ -27,8 +27,6 @@
#include "../inc/MarlinConfigPre.h"
#include "../core/types.h"
#include "../core/macros.h"
#include "../module/temperature.h"
class Joystick {
friend class Temperature;