Followup to pin error change
This commit is contained in:
@ -62,7 +62,7 @@
|
||||
CORE_PIN ## P ## _CONFIG = PORT_PCR_MUX(1)|PORT_PCR_SRE|PORT_PCR_DSE; \
|
||||
GPIO_BITBAND(CORE_PIN ## P ## _DDRREG , CORE_PIN ## P ## _BIT) = 1; \
|
||||
}while(0)
|
||||
|
||||
|
||||
#define _SET_INPUT_PULLUP(P) do{ \
|
||||
CORE_PIN ## P ## _CONFIG = PORT_PCR_MUX(1) | PORT_PCR_PE | PORT_PCR_PS; \
|
||||
GPIO_BITBAND(CORE_PIN ## P ## _DDRREG , CORE_PIN ## P ## _BIT) = 0; \
|
||||
|
Reference in New Issue
Block a user