Skip to content

Commit

Permalink
Fixed bug #1279.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/chibios/code/branches/stable_21.11.x@16440 085d63ac-f8f8-4fb4-a5e5-c089fd4f3ff4
  • Loading branch information
gdisirio committed Dec 26, 2023
1 parent c6f5227 commit 392367e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion os/hal/ports/STM32/LLD/RCCv1/stm32_lsi.inc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ __STATIC_INLINE void lsi_init(void) {
#if STM32_LSI_ENABLED
/* LSI activation.*/
RCC->CSR |= STM32_LSIPRE | RCC_CSR_LSION;
while ((RCC->CSR & RCC_CSR_LSIRDY) == 0U) {
while ((RCC->BDCR & RCC_CSR_LSIRDY) == 0U) {
}
#endif
}
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
DHQC.
- NEW: Reworked STM32 SDMMCv1 and SDMMCv2 drivers, better timeout and clock
handling, improved speed for aligned buffers.
- FIX: Fixed wrong STM32 LSI activation check (bug #1279).
- FIX: Fixed race condition caused by chGuardedPoolAllocI() (bug #1277).
- FIX: Fixed avoid shadowing with build-in pow10 function in chprintf.c
(bug #1274).
Expand Down

0 comments on commit 392367e

Please sign in to comment.