Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions boards/xtensa/esp32s3/esp32s3-ws-lcd128/src/esp32s3_bringup.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
# include "esp32s3_wifi_adapter.h"
#endif

#ifdef CONFIG_ESP32S3_RT_TIMER
# include "esp32s3_rt_timer.h"
#ifdef CONFIG_ESPRESSIF_HR_TIMER
# include "espressif/esp_hr_timer.h"
#endif

#ifdef CONFIG_ESP32S3_I2C
Expand Down Expand Up @@ -314,11 +314,11 @@ int esp32s3_bringup(void)
}
#endif

#ifdef CONFIG_ESP32S3_RT_TIMER
ret = esp32s3_rt_timer_init();
#ifdef CONFIG_ESPRESSIF_HR_TIMER
ret = esp_hr_timer_init();
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize RT timer: %d\n", ret);
syslog(LOG_ERR, "ERROR: esp_hr_timer_init() failed: %d\n", ret);
}
#endif

Expand Down
Loading