Skip to content

Commit

Permalink
🎨 Misc. cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 16, 2022
1 parent 071dae0 commit 3c550e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/M48.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void GcodeSuite::M48() {
set_bed_leveling_enabled(false);
#endif

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

// Work with reasonable feedrates
remember_feedrate_scaling_off();
Expand Down

0 comments on commit 3c550e0

Please sign in to comment.