File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ int IRAM_ATTR esp_clk_xtal_freq(void)
44
44
45
45
void IRAM_ATTR ets_update_cpu_frequency (uint32_t ticks_per_us )
46
46
{
47
- /* Update scale factors used by ets_delay_us */
47
+ /* Update scale factors used by esp_rom_delay_us */
48
48
g_ticks_per_us_pro = ticks_per_us ;
49
49
#ifndef CONFIG_FREERTOS_UNICORE
50
50
g_ticks_per_us_app = ticks_per_us ;
Original file line number Diff line number Diff line change 24
24
#include "esp_spi_flash.h"
25
25
#include "esp32s3/rom/cache.h"
26
26
#include "esp32s3/rom/rtc.h"
27
- #include "esp32s3/rom/ets_sys.h"
28
27
#include "esp_rom_uart.h"
28
+ #include "esp_rom_sys.h"
29
29
#include "soc/cpu.h"
30
30
#include "soc/rtc.h"
31
31
#include "soc/spi_periph.h"
@@ -286,7 +286,7 @@ static esp_err_t esp_light_sleep_inner(uint32_t pd_flags,
286
286
// If SPI flash was powered down, wait for it to become ready
287
287
if (pd_flags & RTC_SLEEP_PD_VDDSDIO ) {
288
288
// Wait for the flash chip to start up
289
- ets_delay_us (flash_enable_time_us );
289
+ esp_rom_delay_us (flash_enable_time_us );
290
290
}
291
291
return err ;
292
292
}
You can’t perform that action at this time.
0 commit comments