Browse Source

Fixed M43 parameter bug (#14099)

Bryan 6 years ago
parent
commit
0ef5d667b6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/config/M43.cpp

+ 1
- 1
Marlin/src/gcode/config/M43.cpp View File

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

Loading…
Cancel
Save