diff --git a/configs/saml21-xplained/include/board.h b/configs/saml21-xplained/include/board.h index bbd336ffc8..a721c7e327 100644 --- a/configs/saml21-xplained/include/board.h +++ b/configs/saml21-xplained/include/board.h @@ -306,7 +306,7 @@ #define BOARD_GCLK2_CLOCK_SOURCE GCLK_GENCTRL_SRC_OSC32K #define BOARD_GCLK2_PRESCALER 32 #undef BOARD_GCLK2_OUTPUT_ENABLE -#define BOARD_GCLK2_FREQUENCY (BOARD_OSC16M_FREQUENCY / BOARD_GCLK2_PRESCALER) +#define BOARD_GCLK2_FREQUENCY (BOARD_OSC32K_FREQUENCY / BOARD_GCLK2_PRESCALER) /* Configure GCLK generator 3 */ @@ -485,11 +485,11 @@ #define BOARD_SERCOM4_GCLKGEN 0 -#define BOARD_SERCOM4_MUXCONFIG (USART_CTRLA_RXPAD1 | USART_CTRLA_TXPAD0_2) -#define BOARD_SERCOM4_PINMAP_PAD0 PORT_SERCOM4_PAD0_3 /* USART TX */ -#define BOARD_SERCOM4_PINMAP_PAD1 PORT_SERCOM4_PAD1_3 /* USART RX */ -#define BOARD_SERCOM4_PINMAP_PAD2 0 -#define BOARD_SERCOM4_PINMAP_PAD3 0 +#define BOARD_SERCOM4_MUXCONFIG (USART_CTRLA_RXPAD1 | USART_CTRLA_TXPAD0_2) +#define BOARD_SERCOM4_PINMAP_PAD0 PORT_SERCOM4_PAD0_3 /* USART TX */ +#define BOARD_SERCOM4_PINMAP_PAD1 PORT_SERCOM4_PAD1_3 /* USART RX */ +#define BOARD_SERCOM4_PINMAP_PAD2 0 +#define BOARD_SERCOM4_PINMAP_PAD3 0 #define BOARD_SERCOM4_FREQUENCY BOARD_GCLK0_FREQUENCY