Fixed bug #399.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5564 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
351b7594ff
commit
5c4430d5c8
|
@ -204,6 +204,10 @@ void stm32_clock_init(void) {
|
|||
while ((RCC->CFGR & RCC_CFGR_SWS) != (STM32_SW << 2))
|
||||
; /* Waits selection complete. */
|
||||
#endif
|
||||
|
||||
#if !STM32_HSI_ENABLED
|
||||
RCC->CR &= ~RCC_CR_HSION;
|
||||
#endif
|
||||
#endif /* !STM32_NO_INIT */
|
||||
}
|
||||
|
||||
|
@ -285,6 +289,10 @@ void stm32_clock_init(void) {
|
|||
while ((RCC->CFGR & RCC_CFGR_SWS) != (STM32_SW << 2))
|
||||
;
|
||||
#endif
|
||||
|
||||
#if !STM32_HSI_ENABLED
|
||||
RCC->CR &= ~RCC_CR_HSION;
|
||||
#endif
|
||||
#endif /* !STM32_NO_INIT */
|
||||
}
|
||||
#else
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.5.2 ***
|
||||
- FIX: Fixed STM32F103 HSI configuration (bug #399).
|
||||
- FIX: Fixed patch to allow simulator to be restarted quicker (bug #398).
|
||||
- FIX: Fixed blkDisconnect macro typo (bug #397).
|
||||
- FIX: Fixed STM32 SPI (V2) driver hangs (bug 3608241).
|
||||
|
|
Loading…
Reference in New Issue