From c801a7ffec76c72ff2143e3c3986598c571771db Mon Sep 17 00:00:00 2001 From: Matthew Lai Date: Sun, 12 May 2019 22:59:35 +0100 Subject: [PATCH] stm32f7: Rename USART7/8 to UART7/8. Matches the existing irq names and the reference manual correctly. --- include/libopencm3/stm32/f7/rcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libopencm3/stm32/f7/rcc.h b/include/libopencm3/stm32/f7/rcc.h index 2bb3e76f..24c5b9d7 100644 --- a/include/libopencm3/stm32/f7/rcc.h +++ b/include/libopencm3/stm32/f7/rcc.h @@ -708,8 +708,8 @@ enum rcc_periph_clken { RCC_CEC = _REG_BIT(0x40, 27), RCC_PWR = _REG_BIT(0x40, 28), RCC_DAC = _REG_BIT(0x40, 29), - RCC_USART7 = _REG_BIT(0x40, 30), - RCC_USART8 = _REG_BIT(0x40, 31), + RCC_UART7 = _REG_BIT(0x40, 30), + RCC_UART8 = _REG_BIT(0x40, 31), /* APB2 peripherals */ RCC_TIM1 = _REG_BIT(0x44, 0),