git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6410 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2013-11-02 13:06:06 +00:00
parent 655de2175f
commit c1100768bd
1 changed files with 0 additions and 1 deletions

View File

@ -142,7 +142,6 @@ void stm32_clock_init(void) {
Trim fields are not altered from reset values.*/ Trim fields are not altered from reset values.*/
RCC->CFGR = 0; RCC->CFGR = 0;
RCC->ICSCR = (RCC->ICSCR & ~STM32_MSIRANGE_MASK) | STM32_MSIRANGE; RCC->ICSCR = (RCC->ICSCR & ~STM32_MSIRANGE_MASK) | STM32_MSIRANGE;
RCC->CSR = RCC_CSR_RMVF;
RCC->CR = RCC_CR_MSION; RCC->CR = RCC_CR_MSION;
while ((RCC->CR & RCC_CR_MSIRDY) == 0) while ((RCC->CR & RCC_CR_MSIRDY) == 0)
; /* Waits until MSI is stable. */ ; /* Waits until MSI is stable. */