Move M80-M81 to cpp

This commit is contained in:
Scott Lahteine
2017-09-16 23:25:01 -05:00
parent 0c7ba52451
commit 4b9d1b9f26
4 changed files with 66 additions and 84 deletions

View File

@@ -177,16 +177,6 @@ static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL
float z_endstop_adj;
#endif
#if HAS_POWER_SWITCH
bool powersupply_on =
#if ENABLED(PS_DEFAULT_OFF)
false
#else
true
#endif
;
#endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
static bool filament_ran_out = false;
#endif
@@ -369,12 +359,6 @@ bool pin_is_protected(const int8_t pin) {
return false;
}
#if HAS_POWER_SWITCH
#include "gcode/control/M80.h"
#endif
#include "gcode/control/M81.h"
#include "gcode/units/M82_M83.h"
#include "gcode/control/M18_M84.h"