File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 119
119
#define Z_HOME_POS (Z_HOME_DIR < 0 ? Z_MIN_POS : Z_MAX_POS)
120
120
#endif
121
121
122
+ /**
123
+ * If DELTA_HEIGHT isn't defined use the old setting
124
+ */
125
+ #if ENABLED (DELTA ) && !defined(DELTA_HEIGHT )
126
+ #define DELTA_HEIGHT Z_HOME_POS
127
+ #endif
128
+
122
129
/**
123
130
* Auto Bed Leveling and Z Probe Repeatability Test
124
131
*/
Original file line number Diff line number Diff line change @@ -2080,7 +2080,7 @@ static void clean_up_after_endstop_or_probe_move() {
2080
2080
#if ENABLED(BLTOUCH_HEATERS_OFF)
2081
2081
2082
2082
void set_heaters_for_bltouch (const bool deploy) {
2083
- static int8_t heaters_were_disabled = 0 ;
2083
+ static bool heaters_were_disabled = false ;
2084
2084
static millis_t next_emi_protection;
2085
2085
static float temps_at_entry[HOTENDS];
2086
2086
@@ -2111,6 +2111,7 @@ static void clean_up_after_endstop_or_probe_move() {
2111
2111
thermalManager.setTargetBed (bed_temp_at_entry);
2112
2112
#endif
2113
2113
}
2114
+ heaters_were_disabled = deploy;
2114
2115
}
2115
2116
2116
2117
#endif // BLTOUCH_HEATERS_OFF
@@ -12263,9 +12264,10 @@ void setup() {
12263
12264
#endif
12264
12265
12265
12266
#if ENABLED(BLTOUCH)
12266
- bltouch_command (BLTOUCH_RESET); // Just in case the BLTouch is in the error state, try to
12267
- set_bltouch_deployed (true ); // reset it. Also needs to deploy and stow to clear the
12268
- set_bltouch_deployed (false ); // error condition.
12267
+ // Make sure any BLTouch error condition is cleared
12268
+ bltouch_command (BLTOUCH_RESET);
12269
+ set_bltouch_deployed (true );
12270
+ set_bltouch_deployed (false );
12269
12271
#endif
12270
12272
12271
12273
#if ENABLED(EXPERIMENTAL_I2CBUS) && I2C_SLAVE_ADDRESS > 0
You can’t perform that action at this time.
0 commit comments