Browse Source

Merge pull request #7560 from thinkyhead/bf1_m406_patch

Addressing #7552
Scott Lahteine 8 years ago
parent
commit
ca9734805c
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/Marlin_main.cpp

+ 4
- 1
Marlin/Marlin_main.cpp View File

9241
   /**
9241
   /**
9242
    * M406: Turn off filament sensor for control
9242
    * M406: Turn off filament sensor for control
9243
    */
9243
    */
9244
-  inline void gcode_M406() { filament_sensor = false; }
9244
+  inline void gcode_M406() {
9245
+    filament_sensor = false;
9246
+    calculate_volumetric_multipliers();   // Restore correct 'volumetric_multiplier' value
9247
+  }
9245
 
9248
 
9246
   /**
9249
   /**
9247
    * M407: Get measured filament diameter on serial output
9250
    * M407: Get measured filament diameter on serial output

Loading…
Cancel
Save