M404 should not use 'N' address as parameter because 'N' is reserved for the line number
This commit is contained in:
parent
9dccd3a94f
commit
ed7874b4e0
@ -3861,11 +3861,11 @@ inline void gcode_M400() { st_synchronize(); }
|
|||||||
#ifdef FILAMENT_SENSOR
|
#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() {
|
inline void gcode_M404() {
|
||||||
#if FILWIDTH_PIN > -1
|
#if FILWIDTH_PIN > -1
|
||||||
if (code_seen('N')) {
|
if (code_seen('W')) {
|
||||||
filament_width_nominal = code_value();
|
filament_width_nominal = code_value();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user