Fixed M43 parameter bug (#14099)

2.0.x
Bryan 6 years ago committed by Scott Lahteine
parent 1c86fbc60b
commit 0ef5d667b6

@ -218,7 +218,7 @@ inline void servo_probe_test() {
if (deploy_state != READ(PROBE_TEST_PIN)) { // probe triggered
for (probe_counter = 0; probe_counter < 15 && deploy_state != READ(PROBE_TEST_PIN); ++probe_counter) safe_delay(2);
if (probe_counter = 15)
if (probe_counter == 15)
SERIAL_ECHOLNPGM(". Pulse width: 30ms or more");
else
SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2);

Loading…
Cancel
Save