summaryrefslogtreecommitdiff
path: root/bsp/hifive1/drivers/drv_usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/hifive1/drivers/drv_usart.c')
-rw-r--r--bsp/hifive1/drivers/drv_usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/hifive1/drivers/drv_usart.c b/bsp/hifive1/drivers/drv_usart.c
index c7c88d6861..935d39105f 100644
--- a/bsp/hifive1/drivers/drv_usart.c
+++ b/bsp/hifive1/drivers/drv_usart.c
@@ -23,7 +23,7 @@ static rt_err_t usart_configure(struct rt_serial_device *serial,
{
RT_ASSERT(serial != RT_NULL);
RT_ASSERT(cfg != RT_NULL);
-
+
GPIO_REG(GPIO_IOF_SEL) &= ~IOF0_UART0_MASK;
GPIO_REG(GPIO_IOF_EN) |= IOF0_UART0_MASK;