diff options
Diffstat (limited to 'chip/lm4/uart.c')
-rw-r--r-- | chip/lm4/uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c index befe0ec398..6ceffb4acb 100644 --- a/chip/lm4/uart.c +++ b/chip/lm4/uart.c @@ -243,8 +243,7 @@ void uart_enter_dsleep(void) * Set the UART0 RX pin to be a generic GPIO with the flags defined * in the board.c file. */ - gpio_set_flags_by_mask(g.port, g.mask, g.flags); - gpio_set_alternate_function(g.port, g.mask, -1); + gpio_reset(GPIO_UART0_RX); /* Clear any pending GPIO interrupts on the UART0 RX pin. */ LM4_GPIO_ICR(g.port) = g.mask; |