Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_esp32h2_wakeup_pll_enable_access_flash' into…
Browse files Browse the repository at this point in the history
… 'release/v5.1'

fix(esp_hw_support): fix esp32h2 wakeup process access flash cause stuck on v5.1

See merge request espressif/esp-idf!25379
  • Loading branch information
jack0c committed Aug 17, 2023
2 parents 77b74ab + d5396e1 commit cd21729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_hw_support/modem_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;}
Expand Down

0 comments on commit cd21729

Please sign in to comment.