Browse Source

Merge pull request #1583 from galexander1/m404fix

M404 should not use 'N' address as parameter because 'N' is reserved
Scott Lahteine 10 years ago
parent
commit
7bc77dc134
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -3921,11 +3921,11 @@ inline void gcode_M400() { st_synchronize(); }
3921 3921
 #ifdef FILAMENT_SENSOR
3922 3922
 
3923 3923
   /**
3924
-   * M404: Display or set the nominal filament width (3mm, 1.75mm ) N<3.0>
3924
+   * M404: Display or set the nominal filament width (3mm, 1.75mm ) W<3.0>
3925 3925
    */
3926 3926
   inline void gcode_M404() {
3927 3927
     #if FILWIDTH_PIN > -1
3928
-      if (code_seen('N')) {
3928
+      if (code_seen('W')) {
3929 3929
         filament_width_nominal = code_value();
3930 3930
       }
3931 3931
       else {

Loading…
Cancel
Save