summaryrefslogtreecommitdiff
path: root/fw/esp32/main
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-03-30 13:22:57 +0200
committerUros Majstorovic <majstor@majstor.org>2022-03-30 13:22:57 +0200
commit55474b81146327e8cfa7702fa9366cc7da6562e7 (patch)
treeb6bf9fe0258ab88d12717bb31ecdf4eda0ffa073 /fw/esp32/main
parentc6962c5700f99441538dafa346626bb7e6d12488 (diff)
sock api fixed; net reply messages fixed
Diffstat (limited to 'fw/esp32/main')
-rw-r--r--fw/esp32/main/app_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fw/esp32/main/app_main.c b/fw/esp32/main/app_main.c
index 1ae7f7c..0e9edde 100644
--- a/fw/esp32/main/app_main.c
+++ b/fw/esp32/main/app_main.c
@@ -12,8 +12,11 @@
#include "_net.h"
#include "wifi.h"
#include "sock.h"
+#include "rng.h"
+#ifdef EOS_WITH_APP
#include "app.h"
#include "tun.h"
+#endif
#include "power.h"
#define ESP_INTR_FLAG_DEFAULT 0
@@ -37,6 +40,7 @@ void app_main() {
eos_cell_init();
eos_wifi_init();
eos_sock_init();
+ eos_rng_init();
#ifdef EOS_WITH_APP
eos_app_init();