From ed7874b4e0045e475c5107132049d467640b8c1a Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sat, 7 Mar 2015 17:35:06 -0500 Subject: [PATCH] M404 should not use 'N' address as parameter because 'N' is reserved for the line number --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index b3c1702a5..0e538cfe5 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3861,11 +3861,11 @@ inline void gcode_M400() { st_synchronize(); } #ifdef FILAMENT_SENSOR /** - * M404: Display or set the nominal filament width (3mm, 1.75mm ) N<3.0> + * M404: Display or set the nominal filament width (3mm, 1.75mm ) W<3.0> */ inline void gcode_M404() { #if FILWIDTH_PIN > -1 - if (code_seen('N')) { + if (code_seen('W')) { filament_width_nominal = code_value(); } else {