Explorar el Código

Init probe test pin with FastIO

Scott Lahteine hace 8 años
padre
commit
fc7d7f87b4
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2
    3
      Marlin/Marlin_main.cpp

+ 2
- 3
Marlin/Marlin_main.cpp Ver fichero

6354
       #endif
6354
       #endif
6355
 
6355
 
6356
       SERIAL_PROTOCOLLNPGM(". deploy & stow 4 times");
6356
       SERIAL_PROTOCOLLNPGM(". deploy & stow 4 times");
6357
-      pinMode(PROBE_TEST_PIN, INPUT_PULLUP);
6358
-      bool deploy_state;
6359
-      bool stow_state;
6357
+      SET_INPUT_PULLUP(PROBE_TEST_PIN);
6358
+      bool deploy_state, stow_state;
6360
       for (uint8_t i = 0; i < 4; i++) {
6359
       for (uint8_t i = 0; i < 4; i++) {
6361
         servo[probe_index].move(z_servo_angle[0]); //deploy
6360
         servo[probe_index].move(z_servo_angle[0]); //deploy
6362
         safe_delay(500);
6361
         safe_delay(500);

Loading…
Cancelar
Guardar