mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-19 15:59:08 +00:00
fix(cache): fixed cache hal ctx not initialised in app issue
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -8,6 +8,11 @@
|
||||
|
||||
static uint32_t s_cache_status[2];
|
||||
|
||||
void cache_hal_init(void)
|
||||
{
|
||||
//for compatibility
|
||||
}
|
||||
|
||||
void cache_hal_suspend(cache_type_t type)
|
||||
{
|
||||
s_cache_status[0] = cache_ll_l1_get_enabled_bus(0);
|
||||
|
Reference in New Issue
Block a user