forked from espressif/esp-idf
change(pm): esp32c5 hardware does not have clk_fe_cal_160m_en
This commit is contained in:
@@ -399,13 +399,6 @@ static inline void modem_syscon_ll_enable_fe_160m_clock(modem_syscon_dev_t *hw,
|
|||||||
hw->clk_conf1.clk_fe_160m_en = en;
|
hw->clk_conf1.clk_fe_160m_en = en;
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((always_inline))
|
|
||||||
static inline void modem_syscon_ll_enable_fe_cal_160m_clock(modem_syscon_dev_t *hw, bool en)
|
|
||||||
{
|
|
||||||
HAL_ASSERT(0 && "not implemented yet");
|
|
||||||
// hw->clk_conf1.clk_fe_cal_160m_en = en;
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((always_inline))
|
__attribute__((always_inline))
|
||||||
static inline void modem_syscon_ll_enable_fe_apb_clock(modem_syscon_dev_t *hw, bool en)
|
static inline void modem_syscon_ll_enable_fe_apb_clock(modem_syscon_dev_t *hw, bool en)
|
||||||
{
|
{
|
||||||
|
@@ -115,7 +115,6 @@ void IRAM_ATTR modem_clock_hal_enable_modem_adc_common_fe_clock(modem_clock_hal_
|
|||||||
void IRAM_ATTR modem_clock_hal_enable_modem_private_fe_clock(modem_clock_hal_context_t *hal, bool enable)
|
void IRAM_ATTR modem_clock_hal_enable_modem_private_fe_clock(modem_clock_hal_context_t *hal, bool enable)
|
||||||
{
|
{
|
||||||
if (enable) {
|
if (enable) {
|
||||||
modem_syscon_ll_enable_fe_cal_160m_clock(hal->syscon_dev, enable);
|
|
||||||
modem_syscon_ll_enable_fe_160m_clock(hal->syscon_dev, enable);
|
modem_syscon_ll_enable_fe_160m_clock(hal->syscon_dev, enable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user