Skip to content

Commit

Permalink
stm32f7: fix RCC_APB1 defns for USART7/USART8
Browse files Browse the repository at this point in the history
The reset and low power definitions for USART7/USART8 were correct, but
not the primary enable registers.

Fixes: #969
  • Loading branch information
karlp committed Sep 24, 2018
1 parent 0d7f1f7 commit 6b0fd86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libopencm3/stm32/f7/rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 6b0fd86

Please sign in to comment.