diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-14 15:09:28 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-14 15:09:28 +0000 |
commit | d0dfc3715ad662443a73c83687396639e087ac05 (patch) | |
tree | 0eec7f695f850a82d7ebf134492d88f5b75e3715 /os/hal/platforms/STM32 | |
parent | a746de44e1e224ee46afac1670581a50448afa85 (diff) | |
download | ChibiOS-d0dfc3715ad662443a73c83687396639e087ac05.tar.gz ChibiOS-d0dfc3715ad662443a73c83687396639e087ac05.tar.bz2 ChibiOS-d0dfc3715ad662443a73c83687396639e087ac05.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3044 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32')
-rw-r--r-- | os/hal/platforms/STM32/hal_lld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.c b/os/hal/platforms/STM32/hal_lld.c index 9b4feb982..081499b83 100644 --- a/os/hal/platforms/STM32/hal_lld.c +++ b/os/hal/platforms/STM32/hal_lld.c @@ -79,7 +79,7 @@ void hal_lld_init(void) { /**
* @brief STM32 clocks and PLL initialization.
* @note All the involved constants come from the file @p board.h.
- * @note This function must be invoked only after the system reset.
+ * @note This function should be invoked just after the system reset.
*
* @special
*/
@@ -134,7 +134,7 @@ void stm32_clock_init(void) { /* Flash setup and final clock selection. */
FLASH->ACR = STM32_FLASHBITS; /* Flash wait states depending on clock. */
- /* Switching on the configured clock source if it is different from HSI.*/
+ /* Switching to the configured clock source if it is different from HSI.*/
#if (STM32_SW != STM32_SW_HSI)
RCC->CFGR |= STM32_SW; /* Switches on the selected clock source. */
while ((RCC->CFGR & RCC_CFGR_SWS) != (STM32_SW << 2))
@@ -207,7 +207,7 @@ void stm32_clock_init(void) { /* Flash setup and final clock selection. */
FLASH->ACR = STM32_FLASHBITS; /* Flash wait states depending on clock. */
- /* Switching on the configured clock source if it is different from HSI.*/
+ /* Switching to the configured clock source if it is different from HSI.*/
#if (STM32_SW != STM32_SW_HSI)
RCC->CFGR |= STM32_SW; /* Switches on the selected clock source. */
while ((RCC->CFGR & RCC_CFGR_SWS) != (STM32_SW << 2))
|