Browse Source

Corrections for probe_pt parameters

Scott Lahteine 7 years ago
parent
commit
6a3967ee33
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/ubl_G29.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2299,7 +2299,7 @@ static void clean_up_after_endstop_or_probe_move() {
2299 2299
    *   - Raise to the BETWEEN height
2300 2300
    * - Return the probed Z position
2301 2301
    */
2302
-  float probe_pt(const float &x, const float &y, const bool stow/*=true*/, const int verbose_level/*=1*/) {
2302
+  float probe_pt(const float &x, const float &y, const bool stow, const uint8_t verbose_level) {
2303 2303
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2304 2304
       if (DEBUGGING(LEVELING)) {
2305 2305
         SERIAL_ECHOPAIR(">>> probe_pt(", x);

+ 1
- 1
Marlin/ubl_G29.cpp View File

@@ -51,7 +51,7 @@
51 51
 
52 52
   extern float meshedit_done;
53 53
   extern long babysteps_done;
54
-  extern float probe_pt(const float &x, const float &y, bool, int);
54
+  extern float probe_pt(const float &x, const float &y, const bool, const uint8_t);
55 55
   extern bool set_probe_deployed(bool);
56 56
   extern void set_bed_leveling_enabled(bool);
57 57
   typedef void (*screenFunc_t)();

Loading…
Cancel
Save