mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_hw_support): fix esp32h2 wakeup process access flash cause crash
This commit is contained in:
parent
461db723f1
commit
d5396e1d84
@ -284,7 +284,7 @@ void IRAM_ATTR modem_clock_module_mac_reset(periph_module_t module)
|
||||
#define PHY_CLOCK_DEPS (BIT(MODEM_CLOCK_I2C_MASTER) | BIT(MODEM_CLOCK_FE))
|
||||
#define I2C_ANA_MST_CLOCK_DEPS (BIT(MODEM_CLOCK_I2C_MASTER))
|
||||
|
||||
static inline uint32_t modem_clock_get_module_deps(periph_module_t module)
|
||||
static IRAM_ATTR uint32_t modem_clock_get_module_deps(periph_module_t module)
|
||||
{
|
||||
uint32_t deps = 0;
|
||||
if (module == PERIPH_ANA_I2C_MASTER_MODULE) {deps = I2C_ANA_MST_CLOCK_DEPS;}
|
||||
|
Loading…
Reference in New Issue
Block a user