Sfoglia il codice sorgente

light sleep: add system light sleep example support

Li Shuai 5 anni fa
parent
commit
eaa6ab4dab

+ 1 - 0
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.