summaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/esp32/main/app_main.c7
1 files changed, 6 insertions, 1 deletions
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 <tcpip_adapter.h>
#include <driver/gpio.h>
#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();
}