|
@ -5443,7 +5443,6 @@ inline void gcode_M400() { st_synchronize(); } |
|
|
* M404: Display or set the nominal filament width (3mm, 1.75mm ) W<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 HAS_FILWIDTH |
|
|
|
|
|
if (code_seen('W')) { |
|
|
if (code_seen('W')) { |
|
|
filament_width_nominal = code_value(); |
|
|
filament_width_nominal = code_value(); |
|
|
} |
|
|
} |
|
@ -5451,7 +5450,6 @@ inline void gcode_M400() { st_synchronize(); } |
|
|
SERIAL_PROTOCOLPGM("Filament dia (nominal mm):"); |
|
|
SERIAL_PROTOCOLPGM("Filament dia (nominal mm):"); |
|
|
SERIAL_PROTOCOLLN(filament_width_nominal); |
|
|
SERIAL_PROTOCOLLN(filament_width_nominal); |
|
|
} |
|
|
} |
|
|
#endif |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|