Skip to content

Commit fb7efde

Browse files
authored
Update esp32-hal-cpu.c
1 parent 5f5a5b5 commit fb7efde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ bool removeApbChangeCallback(void * arg, apb_change_cb_t cb){
147147
}
148148

149149
static uint32_t calculateApb(rtc_cpu_freq_config_t * conf){
150-
#if CONFIG_IDF_TARGET_ESP32C3
150+
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3
151151
return APB_CLK_FREQ;
152152
#else
153153
if(conf->freq_mhz >= 80){

0 commit comments

Comments
 (0)