Skip to content

Commit 3c550e0

Browse files
committed
🎨 Misc. cleanup
1 parent 071dae0 commit 3c550e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Marlin/src/gcode/calibrate/M48.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void GcodeSuite::M48() {
112112
set_bed_leveling_enabled(false);
113113
#endif
114114

115-
TERN_(HAS_PTC, ptc.set_enabled(!parser.seen('C') || parser.value_bool()));
115+
TERN_(HAS_PTC, ptc.set_enabled(parser.boolval('C', true));
116116

117117
// Work with reasonable feedrates
118118
remember_feedrate_scaling_off();

0 commit comments

Comments
 (0)