Skip to content

Commit

Permalink
On LPC176x toggle pins using LPC176x::gpio_toggle()
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-dm committed Jun 4, 2024
1 parent 06762db commit 43015b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/fastio.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
#define _WRITE(IO,V) WRITE_PIN(IO,V)

/// toggle a pin
#define _TOGGLE(IO) _WRITE(IO, !READ(IO))
#define _TOGGLE(IO) LPC176x::gpio_toggle(IO)

/// set pin as input
#define _SET_INPUT(IO) SET_DIR_INPUT(IO)
Expand Down

0 comments on commit 43015b3

Please # to comment.