stm32f7: fix RCC_APB1 defns for USART7/USART8

The reset and low power definitions for USART7/USART8 were correct, but
not the primary enable registers.

Fixes: https://github.com/libopencm3/libopencm3/issues/969
This commit is contained in:
Karl Palsson 2018-09-24 10:35:16 +00:00
parent 0d7f1f7708
commit 6b0fd864a1

View File

@ -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_SPI7 = _REG_BIT(0x40, 30),
RCC_SPI8 = _REG_BIT(0x40, 31),
RCC_USART7 = _REG_BIT(0x40, 30),
RCC_USART8 = _REG_BIT(0x40, 31),
/* APB2 peripherals */
RCC_TIM1 = _REG_BIT(0x44, 0),