We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3430543 commit f7680f3Copy full SHA for f7680f3
Marlin/src/HAL/LPC1768/fastio.h
@@ -66,7 +66,7 @@
66
#define _WRITE(IO,V) WRITE_PIN(IO,V)
67
68
/// toggle a pin
69
-#define _TOGGLE(IO) _WRITE(IO, !READ(IO))
+#define _TOGGLE(IO) LPC176x::gpio_toggle(IO)
70
71
/// set pin as input
72
#define _SET_INPUT(IO) SET_DIR_INPUT(IO)
0 commit comments