summaryrefslogtreecommitdiff
path: root/code/esp32/main
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-02-26 02:50:37 +0100
committerUros Majstorovic <majstor@majstor.org>2020-02-26 02:50:37 +0100
commit206cdf9826233e0f7a923ade6518a26e66d90d86 (patch)
treebcf02fc91393e1900186d0cd07a29a983fbfef57 /code/esp32/main
parent4ac26fa12c93b6fc5a62451853050f127c297e59 (diff)
cell uart/pcm fixes
Diffstat (limited to 'code/esp32/main')
-rw-r--r--code/esp32/main/app_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c
index b654453..d2bb704 100644
--- a/code/esp32/main/app_main.c
+++ b/code/esp32/main/app_main.c
@@ -1,3 +1,5 @@
+#include <driver/gpio.h>
+
#include "i2c.h"
#include "cell.h"
#include "_net.h"
@@ -8,6 +10,9 @@
// Main application
void app_main() {
eos_i2c_init();
+ eos_pcm_init();
+ gpio_install_isr_service(0);
+ eos_modem_init();
eos_net_init();
eos_cell_init();
eos_wifi_init();