diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h old mode 100755 new mode 100644 diff --git a/Marlin/G26_Mesh_Validation_Tool.cpp b/Marlin/G26_Mesh_Validation_Tool.cpp old mode 100755 new mode 100644 diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp old mode 100755 new mode 100644 index 374a41ebb2..2fa5dba6da --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2079,7 +2079,7 @@ static void clean_up_after_endstop_or_probe_move() { */ #if ENABLED(BLTOUCH_HEATERS_OFF) - bool set_heaters_for_bltouch(const bool deploy) { + void set_heaters_for_bltouch(const bool deploy) { static bool heaters_were_disabled = false; static millis_t next_emi_protection; static float temps_at_entry[HOTENDS]; diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp old mode 100755 new mode 100644 diff --git a/Marlin/enum.h b/Marlin/enum.h old mode 100755 new mode 100644 diff --git a/Marlin/language_en.h b/Marlin/language_en.h index 35a0cbb891..80f17ea53e 100644 --- a/Marlin/language_en.h +++ b/Marlin/language_en.h @@ -417,6 +417,12 @@ #ifndef MSG_BLTOUCH_RESET #define MSG_BLTOUCH_RESET _UxGT("Reset BLTouch") #endif +#ifndef MSG_BLTOUCH_DEPLOY + #define MSG_BLTOUCH_DEPLOY _UxGT("Deploy BLTouch") +#endif +#ifndef MSG_BLTOUCH_STOW + #define MSG_BLTOUCH_STOW _UxGT("Stow BLTouch") +#endif #ifndef MSG_HOME #define MSG_HOME _UxGT("Home") // Used as MSG_HOME " " MSG_X MSG_Y MSG_Z " " MSG_FIRST #endif diff --git a/Marlin/language_fr.h b/Marlin/language_fr.h index e5689c8a0b..f0ea9b7d00 100644 --- a/Marlin/language_fr.h +++ b/Marlin/language_fr.h @@ -161,6 +161,8 @@ #define MSG_ZPROBE_OUT _UxGT("Z sonde extè. lit") #define MSG_BLTOUCH_SELFTEST _UxGT("Autotest BLTouch") #define MSG_BLTOUCH_RESET _UxGT("RaZ BLTouch") +#define MSG_BLTOUCH_DEPLOY _UxGT("Déployer BLTouch") +#define MSG_BLTOUCH_STOW _UxGT("Ranger BLTouch") #define MSG_HOME _UxGT("Origine") // Used as MSG_HOME " " MSG_X MSG_Y MSG_Z " " MSG_FIRST #define MSG_FIRST _UxGT("Premier") #define MSG_ZPROBE_ZOFFSET _UxGT("Décalage Z") diff --git a/Marlin/least_squares_fit.cpp b/Marlin/least_squares_fit.cpp index e6f684e77e..ce21b3a053 100644 --- a/Marlin/least_squares_fit.cpp +++ b/Marlin/least_squares_fit.cpp @@ -41,7 +41,9 @@ #include "least_squares_fit.h" -void incremental_LSF_reset(struct linear_fit_data *lsf) { ZERO(lsf); } +void incremental_LSF_reset(struct linear_fit_data *lsf) { + memset(lsf, 0, sizeof(linear_fit_data)); +} void incremental_LSF(struct linear_fit_data *lsf, float x, float y, float z) { lsf->xbar += x; diff --git a/Marlin/pins_RAMBO.h b/Marlin/pins_RAMBO.h old mode 100755 new mode 100644 diff --git a/Marlin/platformio.ini b/Marlin/platformio.ini old mode 100755 new mode 100644 diff --git a/Marlin/ubl.cpp b/Marlin/ubl.cpp old mode 100755 new mode 100644 diff --git a/Marlin/ubl.h b/Marlin/ubl.h old mode 100755 new mode 100644 diff --git a/Marlin/ubl_G29.cpp b/Marlin/ubl_G29.cpp old mode 100755 new mode 100644 diff --git a/Marlin/ubl_motion.cpp b/Marlin/ubl_motion.cpp old mode 100755 new mode 100644 diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp old mode 100755 new mode 100644 index 16952ac7d0..53fe8d815b --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -39,6 +39,10 @@ #include "duration_t.h" #endif +#if ENABLED(BLTOUCH) + #include "endstops.h" +#endif + int lcd_preheat_hotend_temp[2], lcd_preheat_bed_temp[2], lcd_preheat_fan_speed[2]; #if ENABLED(FILAMENT_LCD_DISPLAY) && ENABLED(SDSUPPORT)