Просмотр исходного кода

Corrections for probe_pt parameters

Scott Lahteine 8 лет назад
Родитель
Сommit
6a3967ee33
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/ubl_G29.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Просмотреть файл

2299
    *   - Raise to the BETWEEN height
2299
    *   - Raise to the BETWEEN height
2300
    * - Return the probed Z position
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
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2303
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2304
       if (DEBUGGING(LEVELING)) {
2304
       if (DEBUGGING(LEVELING)) {
2305
         SERIAL_ECHOPAIR(">>> probe_pt(", x);
2305
         SERIAL_ECHOPAIR(">>> probe_pt(", x);

+ 1
- 1
Marlin/ubl_G29.cpp Просмотреть файл

51
 
51
 
52
   extern float meshedit_done;
52
   extern float meshedit_done;
53
   extern long babysteps_done;
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
   extern bool set_probe_deployed(bool);
55
   extern bool set_probe_deployed(bool);
56
   extern void set_bed_leveling_enabled(bool);
56
   extern void set_bed_leveling_enabled(bool);
57
   typedef void (*screenFunc_t)();
57
   typedef void (*screenFunc_t)();

Загрузка…
Отмена
Сохранить