1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-25 04:48:31 +00:00

🐛 Init PROBE_ENABLE_PIN (#23133)

This commit is contained in:
BigTreeTech 2021-11-18 01:35:28 +08:00 committed by GitHub
parent e3d777cf8f
commit 2edda4c582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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