Skip to content

Commit

Permalink
🎨 Misc. code format (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Sep 3, 2024
1 parent 56e2b60 commit 7cd56a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ float Probe::probe_at_point(
const bool sanity_check, // = true
const_float_t z_min_point, // = Z_PROBE_LOW_POINT
const_float_t z_clearance, // = Z_TWEEN_SAFE_CLEARANCE
const bool raise_after_is_relative // = false
const bool raise_after_is_rel // = false
) {
DEBUG_SECTION(log_probe, "Probe::probe_at_point", DEBUGGING(LEVELING));

Expand Down Expand Up @@ -1010,7 +1010,7 @@ float Probe::probe_at_point(
switch (raise_after) {
default: break;
case PROBE_PT_RAISE:
if (raise_after_is_relative)
if (raise_after_is_rel)
do_z_clearance_by(z_clearance);
else
do_z_clearance(z_clearance);
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/module/probe.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class Probe {
const_float_t z_clearance = Z_TWEEN_SAFE_CLEARANCE,
const bool raise_after_is_rel = false
) {
return probe_at_point(pos.x, pos.y, raise_after, verbose_level, probe_relative, sanity_check, z_min_point, z_clearance, raise_after_is_relative);
return probe_at_point(pos.x, pos.y, raise_after, verbose_level, probe_relative, sanity_check, z_min_point, z_clearance, raise_after_is_rel);
}

#else // !HAS_BED_PROBE
Expand Down

0 comments on commit 7cd56a5

Please sign in to comment.