Merge pull request #7560 from thinkyhead/bf1_m406_patch

Addressing #7552
This commit is contained in:
Scott Lahteine 2017-08-25 03:38:41 -05:00 committed by GitHub
commit ca9734805c

View file

@ -9241,7 +9241,10 @@ inline void gcode_M400() { stepper.synchronize(); }
/**
* M406: Turn off filament sensor for control
*/
inline void gcode_M406() { filament_sensor = false; }
inline void gcode_M406() {
filament_sensor = false;
calculate_volumetric_multipliers(); // Restore correct 'volumetric_multiplier' value
}
/**
* M407: Get measured filament diameter on serial output