Fixed bug #435.
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:
parent
655de2175f
commit
c1100768bd
|
@ -142,7 +142,6 @@ void stm32_clock_init(void) {
|
|||
Trim fields are not altered from reset values.*/
|
||||
RCC->CFGR = 0;
|
||||
RCC->ICSCR = (RCC->ICSCR & ~STM32_MSIRANGE_MASK) | STM32_MSIRANGE;
|
||||
RCC->CSR = RCC_CSR_RMVF;
|
||||
RCC->CR = RCC_CR_MSION;
|
||||
while ((RCC->CR & RCC_CR_MSIRDY) == 0)
|
||||
; /* Waits until MSI is stable. */
|
||||
|
|
Loading…
Reference in New Issue