From ce6a691999c1bc583e01230b802360124a277d9e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 19 Dec 2017 18:24:27 -0600 Subject: [PATCH] Fix #8839 - filament width sensor --- Marlin/temperature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index e3aaa47a7..cc75b4442 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -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