mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix #8839 - filament width sensor
This commit is contained in:
parent
10d73155b0
commit
ce6a691999
@ -799,7 +799,7 @@ void Temperature::manage_heater() {
|
||||
meas_shift_index = filwidth_delay_index[0] - meas_delay_cm;
|
||||
if (meas_shift_index < 0) meas_shift_index += MAX_MEASUREMENT_DELAY + 1; //loop around buffer if needed
|
||||
meas_shift_index = constrain(meas_shift_index, 0, MAX_MEASUREMENT_DELAY);
|
||||
calculate_volumetric_for_width_sensor(measurement_delay[meas_shift_index])
|
||||
planner.calculate_volumetric_for_width_sensor(measurement_delay[meas_shift_index]);
|
||||
}
|
||||
#endif // FILAMENT_WIDTH_SENSOR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user