🐛 Init PROBE_ENABLE_PIN (#23133)

This commit is contained in:
BigTreeTech 2021-11-18 01:35:28 +08:00 committed by Scott Lahteine
parent 99f58f63f2
commit c5bd08755c

View File

@ -1353,6 +1353,9 @@ void setup() {
#endif #endif
#if HAS_BED_PROBE #if HAS_BED_PROBE
#if PIN_EXISTS(PROBE_ENABLE)
OUT_WRITE(PROBE_ENABLE_PIN, LOW); // Disable
#endif
SETUP_RUN(endstops.enable_z_probe(false)); SETUP_RUN(endstops.enable_z_probe(false));
#endif #endif