mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Adopt CCRH compiler
This commit is contained in:
1 parent
01ae80ecd1
commit
112a1e908a
6 files changed
+20
-12
No files matched your search
@@ -104,7 +104,7 @@ MG_IRAM bool mg_flash_erase(void *addr) {
|
||||
return ok;
|
||||
}
|
||||
|
||||
MG_IRAM bool mg_flash_swap_bank() {
|
||||
MG_IRAM bool mg_flash_swap_bank(void) {
|
||||
if (mg_flash_bank() == 0) return true;
|
||||
uint32_t bank = FLASH_BASE1;
|
||||
uint32_t desired = flash_bank_is_swapped(bank) ? 0 : MG_BIT(31);
|
||||
|
||||
Reference in new issue
Block a user