Comment, improve filament width sensor
This commit is contained in:
@@ -9553,7 +9553,7 @@ inline void gcode_M400() { stepper.synchronize(); }
|
||||
}
|
||||
|
||||
if (filwidth_delay_index[1] == -1) { // Initialize the ring buffer if not done since startup
|
||||
const uint8_t temp_ratio = thermalManager.widthFil_to_size_ratio() - 100; // -100 to scale within a signed byte
|
||||
const uint8_t temp_ratio = thermalManager.widthFil_to_size_ratio();
|
||||
|
||||
for (uint8_t i = 0; i < COUNT(measurement_delay); ++i)
|
||||
measurement_delay[i] = temp_ratio;
|
||||
@@ -9562,11 +9562,6 @@ inline void gcode_M400() { stepper.synchronize(); }
|
||||
}
|
||||
|
||||
filament_sensor = true;
|
||||
|
||||
//SERIAL_PROTOCOLPGM("Filament dia (measured mm):");
|
||||
//SERIAL_PROTOCOL(filament_width_meas);
|
||||
//SERIAL_PROTOCOLPGM("Extrusion ratio(%):");
|
||||
//SERIAL_PROTOCOL(planner.flow_percentage[active_extruder]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user