stm32: Fix typo in RCC related comments

ABP -> APB

Signed-off-by: Sam Protsenko <joe.skb7@gmail.com>
This commit is contained in:
Sam Protsenko
2019-12-15 23:03:53 +02:00
committed by Karl Palsson
parent df15b263d2
commit f7a952c41a
6 changed files with 16 additions and 16 deletions

View File

@@ -396,7 +396,7 @@ void rcc_clock_setup_hse(const struct rcc_clock_scale *clock, uint32_t hse_mhz)
}
/*
* Set prescalers for AHB, ADC, ABP1, ABP2.
* Set prescalers for AHB, ADC, APB1, APB2.
* Do this before touching the PLL (TODO: why?).
*/
rcc_set_hpre(clock->hpre);
@@ -453,7 +453,7 @@ void rcc_clock_setup_hsi(const struct rcc_clock_scale *clock)
}
/*
* Set prescalers for AHB, ADC, ABP1, ABP2.
* Set prescalers for AHB, ADC, APB1, APB2.
* Do this before touching the PLL (TODO: why?).
*/
rcc_set_hpre(clock->hpre);
@@ -484,4 +484,4 @@ void rcc_clock_setup_hsi(const struct rcc_clock_scale *clock)
rcc_apb2_frequency = clock->apb2_frequency;
}
/**@}*/
/**@}*/