From eaa6ab4daba4c122fd420c8c0bf488c591063170 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Wed, 20 Jan 2021 22:17:24 +0800 Subject: [PATCH] light sleep: add system light sleep example support --- examples/system/light_sleep/main/light_sleep_example_main.c | 1 + 1 file changed, 1 insertion(+) 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.