ht32: fix GCC 11 misleading indentation error

This commit is contained in:
bwisn 2021-08-27 23:00:36 +02:00 committed by Fabio Utzig
parent e762f8f765
commit 4568901a91
1 changed files with 2 additions and 1 deletions

View File

@ -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