mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-24 20:21:49 +00:00
Activate asan for mip_test
This commit is contained in:
1 parent
1237185bb4
commit
6a47ff6422
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ static uint32_t get_hclk(void) {
|
||||
} else {
|
||||
clk = hsi;
|
||||
}
|
||||
int hpre = (RCC->CFGR & (0x0F << 4)) >> 4;
|
||||
uint32_t hpre = (RCC->CFGR & (15 << 4)) >> 4;
|
||||
if (hpre < 8) return clk;
|
||||
|
||||
uint8_t ahbptab[8] = {1, 2, 3, 4, 6, 7, 8, 9}; // log2(div)
|
||||
|
||||
Reference in new issue
Block a user