diff --git a/boards/xtensa/esp32s3/esp32s3-ws-lcd128/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-ws-lcd128/src/esp32s3_bringup.c index 4287b88da9dc3..c91f7ed28d7f2 100644 --- a/boards/xtensa/esp32s3/esp32s3-ws-lcd128/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-ws-lcd128/src/esp32s3_bringup.c @@ -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 @@ -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