summaryrefslogtreecommitdiff
path: root/fw/esp32/main/app_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/esp32/main/app_main.c')
-rw-r--r--fw/esp32/main/app_main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fw/esp32/main/app_main.c b/fw/esp32/main/app_main.c
index 145739c..1ae7f7c 100644
--- a/fw/esp32/main/app_main.c
+++ b/fw/esp32/main/app_main.c
@@ -12,6 +12,8 @@
#include "_net.h"
#include "wifi.h"
#include "sock.h"
+#include "app.h"
+#include "tun.h"
#include "power.h"
#define ESP_INTR_FLAG_DEFAULT 0
@@ -36,7 +38,9 @@ void app_main() {
eos_wifi_init();
eos_sock_init();
+#ifdef EOS_WITH_APP
+ eos_app_init();
+ eos_tun_init();
+#endif
eos_power_init();
}
-
-