Skip to content

Commit

Permalink
ht32: fix GCC 11 misleading indentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
bwisn authored and utzig committed Aug 28, 2021
1 parent e762f8f commit 4568901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion os/hal/ports/HT32/HT32F523xx/hal_lld.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ void ht32_clock_init(void) {
// Enable backup domain. Needed for USB
CKCU->LPCR = CKCU_LPCR_BKISO;
CKCU->APBCCR1 |= CKCU_APBCCR1_BKPREN;
while (PWRCU->BAKTEST != 0x27);
while (PWRCU->BAKTEST != 0x27)
;

#if HT32_CKCU_SW == CKCU_GCCR_SW_HSE
// Enable HSE
Expand Down

0 comments on commit 4568901

Please sign in to comment.