From 4c28fb525edc64fa16c6c3bf10929dca65d9c77c Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 4 Dec 2019 06:12:15 +0100 Subject: esp32 refactoring --- code/esp32/main/app_main.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'code/esp32/main') diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c index 19ad85c..afaee91 100644 --- a/code/esp32/main/app_main.c +++ b/code/esp32/main/app_main.c @@ -1,34 +1,19 @@ -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "fe310.h" #include "i2c.h" #include "modem.h" #include "pcm.h" -#include "transport.h" -#include "bq25895.h" +#include "_net.h" +#include "sock.h" +#include "wifi.h" // Main application void app_main() { eos_i2c_init(); eos_modem_init(); eos_pcm_init(); + eos_net_init(); eos_wifi_init(); - eos_fe310_init(); - eos_bq25895_set_ilim(); + eos_sock_init(); + // eos_bq25895_set_ilim(); } -- cgit v1.2.3