From 6a3967ee331d1816f7bb4f246c95d5ddcae1f100 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 3 Jul 2017 01:09:34 -0500 Subject: [PATCH] Corrections for probe_pt parameters --- Marlin/Marlin_main.cpp | 2 +- Marlin/ubl_G29.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 7cd18b02be..9eb09cff0b 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2299,7 +2299,7 @@ static void clean_up_after_endstop_or_probe_move() { * - Raise to the BETWEEN height * - Return the probed Z position */ - float probe_pt(const float &x, const float &y, const bool stow/*=true*/, const int verbose_level/*=1*/) { + float probe_pt(const float &x, const float &y, const bool stow, const uint8_t verbose_level) { #if ENABLED(DEBUG_LEVELING_FEATURE) if (DEBUGGING(LEVELING)) { SERIAL_ECHOPAIR(">>> probe_pt(", x); diff --git a/Marlin/ubl_G29.cpp b/Marlin/ubl_G29.cpp index e0b27cb9c0..d8a26c1353 100644 --- a/Marlin/ubl_G29.cpp +++ b/Marlin/ubl_G29.cpp @@ -51,7 +51,7 @@ extern float meshedit_done; extern long babysteps_done; - extern float probe_pt(const float &x, const float &y, bool, int); + extern float probe_pt(const float &x, const float &y, const bool, const uint8_t); extern bool set_probe_deployed(bool); extern void set_bed_leveling_enabled(bool); typedef void (*screenFunc_t)();