|
@@ -5443,15 +5443,13 @@ inline void gcode_M400() { st_synchronize(); }
|
5443
|
5443
|
* M404: Display or set the nominal filament width (3mm, 1.75mm ) W<3.0>
|
5444
|
5444
|
*/
|
5445
|
5445
|
inline void gcode_M404() {
|
5446
|
|
- #if HAS_FILWIDTH
|
5447
|
|
- if (code_seen('W')) {
|
5448
|
|
- filament_width_nominal = code_value();
|
5449
|
|
- }
|
5450
|
|
- else {
|
5451
|
|
- SERIAL_PROTOCOLPGM("Filament dia (nominal mm):");
|
5452
|
|
- SERIAL_PROTOCOLLN(filament_width_nominal);
|
5453
|
|
- }
|
5454
|
|
- #endif
|
|
5446
|
+ if (code_seen('W')) {
|
|
5447
|
+ filament_width_nominal = code_value();
|
|
5448
|
+ }
|
|
5449
|
+ else {
|
|
5450
|
+ SERIAL_PROTOCOLPGM("Filament dia (nominal mm):");
|
|
5451
|
+ SERIAL_PROTOCOLLN(filament_width_nominal);
|
|
5452
|
+ }
|
5455
|
5453
|
}
|
5456
|
5454
|
|
5457
|
5455
|
/**
|