mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Merge branch 'master' into feature/esp32s2beta_update
This commit is contained in:
@@ -84,7 +84,7 @@ static uint8_t s_mmap_page_refcnt[REGIONS_COUNT * PAGES_PER_REGION] = {0};
|
||||
static uint32_t s_mmap_last_handle = 0;
|
||||
|
||||
|
||||
static void IRAM_ATTR spi_flash_mmap_init()
|
||||
static void IRAM_ATTR spi_flash_mmap_init(void)
|
||||
{
|
||||
if (s_mmap_page_refcnt[0] != 0) {
|
||||
return; /* mmap data already initialised */
|
||||
@@ -322,7 +322,7 @@ void IRAM_ATTR spi_flash_munmap(spi_flash_mmap_handle_t handle)
|
||||
free(it);
|
||||
}
|
||||
|
||||
static void IRAM_ATTR NOINLINE_ATTR spi_flash_protected_mmap_init()
|
||||
static void IRAM_ATTR NOINLINE_ATTR spi_flash_protected_mmap_init(void)
|
||||
{
|
||||
spi_flash_disable_interrupts_caches_and_other_cpu();
|
||||
spi_flash_mmap_init();
|
||||
@@ -338,7 +338,7 @@ static uint32_t IRAM_ATTR NOINLINE_ATTR spi_flash_protected_read_mmu_entry(int i
|
||||
return value;
|
||||
}
|
||||
|
||||
void spi_flash_mmap_dump()
|
||||
void spi_flash_mmap_dump(void)
|
||||
{
|
||||
spi_flash_protected_mmap_init();
|
||||
|
||||
|
Reference in New Issue
Block a user