We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd0554 commit 4a73379Copy full SHA for 4a73379
Marlin/src/HAL/HAL_SAMD51/fastio.h
@@ -88,8 +88,8 @@
88
const EPortType port = (EPortType)GET_SAMD_PORT(IO); \
89
const uint32_t pin = GET_SAMD_PIN(IO); \
90
\
91
- PORT->Group[port].PINCFG[pin].reg = (uint8_t)(PORT_PINCFG_INEN); \
92
PORT->Group[port].DIRSET.reg = MASK(pin); \
+ PORT->Group[port].PINCFG[pin].reg = 0; \
93
}while(0)
94
// Set pin as output (open drain)
95
#define SET_OUTPUT_OD(IO) do{ \
0 commit comments