Move M80-M81 to cpp
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user