ソースを参照

M404 should not use 'N' address as parameter because 'N' is reserved for the line number

Greg Alexander 9年前
コミット
ed7874b4e0
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp ファイルの表示

@@ -3861,11 +3861,11 @@ inline void gcode_M400() { st_synchronize(); }
3861 3861
 #ifdef FILAMENT_SENSOR
3862 3862
 
3863 3863
   /**
3864
-   * M404: Display or set the nominal filament width (3mm, 1.75mm ) N<3.0>
3864
+   * M404: Display or set the nominal filament width (3mm, 1.75mm ) W<3.0>
3865 3865
    */
3866 3866
   inline void gcode_M404() {
3867 3867
     #if FILWIDTH_PIN > -1
3868
-      if (code_seen('N')) {
3868
+      if (code_seen('W')) {
3869 3869
         filament_width_nominal = code_value();
3870 3870
       }
3871 3871
       else {

読み込み中…
キャンセル
保存