Explorar el Código

Fix misplaced parentheses (#12284)

Karl Andersson hace 6 años
padre
commit
484ca68228
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/fastio_STM32.h

+ 1
- 1
Marlin/src/HAL/HAL_STM32/fastio_STM32.h Ver fichero

@@ -52,7 +52,7 @@ void FastIO_init(); // Must be called before using fast io macros
52 52
     else   FastIOPortMap[STM_PORT(digitalPin[IO])]->BRR  = _BV32(STM_PIN(digitalPin[IO])) ; \
53 53
   } while(0)
54 54
 #else
55
-  #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPin[IO])]->BSRR = _BV32(STM_PIN(digitalPin[IO] + (V ? 0 : 16))))
55
+  #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPin[IO])]->BSRR = _BV32(STM_PIN(digitalPin[IO]) + (V ? 0 : 16)))
56 56
 #endif
57 57
 
58 58
 #define _READ(IO)               bool(READ_BIT(FastIOPortMap[STM_PORT(digitalPin[IO])]->IDR, _BV32(STM_PIN(digitalPin[IO]))))

Loading…
Cancelar
Guardar