mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-20 16:46:14 +00:00
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
This commit is contained in:
@@ -347,16 +347,14 @@ static inline void periph_ll_disable_clk_set_rst(periph_module_t periph)
|
||||
SET_PERI_REG_MASK(periph_ll_get_rst_en_reg(periph), periph_ll_get_rst_en_mask(periph, false));
|
||||
}
|
||||
|
||||
static inline void periph_ll_wifi_bt_module_enable_clk_clear_rst(void)
|
||||
static inline void periph_ll_wifi_bt_module_enable_clk(void)
|
||||
{
|
||||
// DPORT_SET_PERI_REG_MASK(SYSTEM_WIFI_CLK_EN_REG, SYSTEM_WIFI_CLK_WIFI_BT_COMMON_M);// ESP32H2-TODO: IDF-6400
|
||||
// DPORT_CLEAR_PERI_REG_MASK(SYSTEM_CORE_RST_EN_REG, 0);
|
||||
}
|
||||
|
||||
static inline void periph_ll_wifi_bt_module_disable_clk_set_rst(void)
|
||||
static inline void periph_ll_wifi_bt_module_disable_clk(void)
|
||||
{
|
||||
// DPORT_CLEAR_PERI_REG_MASK(SYSTEM_WIFI_CLK_EN_REG, SYSTEM_WIFI_CLK_WIFI_BT_COMMON_M);// ESP32H2-TODO: IDF-6400
|
||||
// DPORT_SET_PERI_REG_MASK(SYSTEM_CORE_RST_EN_REG, 0);
|
||||
}
|
||||
|
||||
static inline void periph_ll_reset(periph_module_t periph)
|
||||
|
Reference in New Issue
Block a user