Move M260_M261 to cpp

This commit is contained in:
Scott Lahteine
2017-09-17 02:49:13 -05:00
parent 3e761696a0
commit d4d3d92f8a
4 changed files with 21 additions and 22 deletions

View File

@ -84,6 +84,7 @@
#if ENABLED(EXPERIMENTAL_I2CBUS)
#include "feature/twibus.h"
TWIBus i2c;
#endif
#if ENABLED(I2C_POSITION_ENCODERS)
@ -98,10 +99,6 @@
CardReader card;
#endif
#if ENABLED(EXPERIMENTAL_I2CBUS)
TWIBus i2c;
#endif
#if ENABLED(G38_PROBE_TARGET)
bool G38_move = false,
G38_endstop_hit = false;
@ -355,10 +352,6 @@ bool pin_is_protected(const int8_t pin) {
return false;
}
#if ENABLED(EXPERIMENTAL_I2CBUS)
#include "gcode/feature/i2c/M260_M261.h"
#endif
#if HAS_SERVOS
#include "gcode/control/M280.h"
#endif