diff --git a/examples/system/light_sleep/main/light_sleep_example_main.c b/examples/system/light_sleep/main/light_sleep_example_main.c index d10c510aaf..28f39de5a5 100644 --- a/examples/system/light_sleep/main/light_sleep_example_main.c +++ b/examples/system/light_sleep/main/light_sleep_example_main.c @@ -18,6 +18,7 @@ #include "esp_log.h" #include "driver/uart.h" #include "driver/gpio.h" +#include "esp_timer.h" /* Most development boards have "boot" button attached to GPIO0. * You can also change this to another pin.