From c827937e4599c4144f5d22af2de8e7a802b88be5 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 9 May 2020 19:44:56 +0200 Subject: wifi driver fix --- code/esp32/main/app_main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'code') diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c index d2bb704..4a277cf 100644 --- a/code/esp32/main/app_main.c +++ b/code/esp32/main/app_main.c @@ -1,3 +1,4 @@ +#include #include #include "i2c.h" @@ -9,14 +10,18 @@ // Main application void app_main() { - eos_i2c_init(); + tcpip_adapter_init(); + eos_pcm_init(); gpio_install_isr_service(0); eos_modem_init(); + eos_net_init(); eos_cell_init(); eos_wifi_init(); eos_sock_init(); + + eos_i2c_init(); eos_bq25895_set_ilim(); } -- cgit v1.2.3