Skip to content

Commit

Permalink
Temporary LPC Dual Z patch
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Nov 5, 2024
1 parent 13af4e1 commit 64dd72d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/HAL/LPC1768/fastio.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
#define _WRITE(IO,V) WRITE_PIN(IO,V)

/// toggle a pin
#define _TOGGLE(IO) LPC176x::gpio_toggle(IO)
//#define _TOGGLE(IO) LPC176x::gpio_toggle(IO)
#define _TOGGLE(IO) _WRITE(IO, !READ(IO)) // Temporary fix for dual Z. See https://github.com/MarlinFirmware/Marlin/issues/27341

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

0 comments on commit 64dd72d

Please sign in to comment.