Skip to content

Commit

Permalink
fix(bootloader): update random disable api for ESP32-C5
Browse files Browse the repository at this point in the history
  • Loading branch information
hongshuqing authored and mahavirj committed Aug 11, 2024
1 parent 7eaa185 commit 0c817d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/bootloader_support/src/bootloader_random_esp32c5.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ void bootloader_random_disable(void)
REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SARADC1_EN_TOUT_ADDR, 0);
REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SARADC2_EN_TOUT_ADDR, 0);

// Revert PMU_RF_PWC_REG to it's initial value
CLEAR_PERI_REG_MASK(PMU_RF_PWC_REG, PMU_PERIF_I2C_RSTB);

// disable ADC_CTRL_CLK (SAR ADC function clock)
REG_WRITE(PCR_SARADC_CLKM_CONF_REG, 0x00404000);

Expand Down

0 comments on commit 0c817d9

Please sign in to comment.