Merge pull request #8356 from tcm0116/2.0.x-M600

[2.0.x] Normalize load/unload length in M600
This commit is contained in:
Scott Lahteine
2017-11-10 19:44:08 -06:00
committed by GitHub
9 changed files with 71 additions and 40 deletions

View File

@ -816,6 +816,7 @@ void Temperature::manage_heater() {
// the nominal filament diameter then square it to get an area
const float vmroot = measurement_delay[meas_shift_index] * 0.01 + 1.0;
planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM] = vmroot <= 0.1 ? 0.01 : sq(vmroot);
planner.refresh_e_factor(FILAMENT_SENSOR_EXTRUDER_NUM);
}
#endif // FILAMENT_WIDTH_SENSOR