FILAMENT_WIDTH_SENSOR feature
This commit is contained in:
@@ -186,15 +186,6 @@ static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL
|
||||
;
|
||||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
bool filament_sensor = false; // M405 turns on filament sensor control. M406 turns it off.
|
||||
float filament_width_nominal = DEFAULT_NOMINAL_FILAMENT_DIA, // Nominal filament width. Change with M404.
|
||||
filament_width_meas = DEFAULT_MEASURED_FILAMENT_DIA; // Measured filament diameter
|
||||
uint8_t meas_delay_cm = MEASUREMENT_DELAY_CM, // Distance delay setting
|
||||
measurement_delay[MAX_MEASUREMENT_DELAY + 1]; // Ring buffer to delayed measurement. Store extruder factor after subtracting 100
|
||||
int8_t filwidth_delay_index[2] = { 0, -1 }; // Indexes into ring buffer
|
||||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||
static bool filament_ran_out = false;
|
||||
#endif
|
||||
@@ -667,13 +658,6 @@ static bool pin_is_protected(const int8_t pin) {
|
||||
#include "gcode/probe/M401_M402.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
#include "gcode/sensor/M404.h"
|
||||
#include "gcode/sensor/M405.h"
|
||||
#include "gcode/sensor/M406.h"
|
||||
#include "gcode/sensor/M407.h"
|
||||
#endif
|
||||
|
||||
void quickstop_stepper() {
|
||||
stepper.quick_stop();
|
||||
stepper.synchronize();
|
||||
|
Reference in New Issue
Block a user