소스 검색

Merge branch 'bugfix/fix_esp32c6_regi2c_enable_clock' into 'master'

bugfix: regi2c: fix regi2c api for esp32c6

See merge request espressif/esp-idf!21397
Wu Zheng Hui 3 년 전
부모
커밋
bec679fbc6
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      components/esp_rom/patches/esp_rom_regi2c_esp32c6.c

+ 0 - 3
components/esp_rom/patches/esp_rom_regi2c_esp32c6.c

@@ -118,9 +118,6 @@ static IRAM_ATTR void regi2c_disable_block(uint8_t block)
     default:
         return;
     }
-
-    REG_CLR_BIT(LP_I2C_ANA_MST_DATE_REG, LP_I2C_ANA_MST_I2C_MAT_CLK_EN);
-    REG_CLR_BIT(MODEM_LPCON_CLK_CONF_REG, MODEM_LPCON_CLK_I2C_MST_EN);
 }
 
 uint8_t IRAM_ATTR esp_rom_regi2c_read(uint8_t block, uint8_t host_id, uint8_t reg_add)