From 375ac3b0c7e9ed8b2d2d0fc4d0700a23c8865836 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 24 May 2020 00:00:38 +0200 Subject: esp32 deep sleep implemented --- code/esp32/main/app_main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'code/esp32/main') diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c index bd2e3e1..b700a8e 100644 --- a/code/esp32/main/app_main.c +++ b/code/esp32/main/app_main.c @@ -1,5 +1,9 @@ +#include +#include + #include #include +#include #include "i2c.h" #include "cell.h" @@ -15,11 +19,12 @@ void app_main() { tcpip_adapter_init(); + eos_net_init(); + eos_pcm_init(); gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT); eos_modem_init(); - eos_net_init(); eos_cell_init(); eos_wifi_init(); eos_sock_init(); -- cgit v1.2.3