aboutsummaryrefslogtreecommitdiff
path: root/main/init.c
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-05-18 20:48:50 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-05-18 20:48:50 +0200
commit56440df6b9810dbbc4b33171030970fa2fbe1ca1 (patch)
tree9a227b9397ca4fa464165fc4836ba8dd22275202 /main/init.c
parent1152ec32b6086c153dc41da59c9c451aa4465995 (diff)
Base i2c master functions
Diffstat (limited to 'main/init.c')
-rw-r--r--main/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/init.c b/main/init.c
index dcd3d54..f336ad0 100644
--- a/main/init.c
+++ b/main/init.c
@@ -1,5 +1,6 @@
#include "config.h"
#include "init.h"
+#include "i2c.h"
#include <FreeRTOS.h>
#include <task.h>
@@ -33,7 +34,7 @@ static void init_wifi() {
static void async_init() {
init_cyw34();
- // TODO: initialize i2c
+ init_i2c();
init_wifi();
xEventGroupSetBits(init_complete, 1);