diff options
author | ThomasintAnker <thomasintanker1@gmail.com> | 2024-05-24 12:33:53 +0200 |
---|---|---|
committer | ThomasintAnker <thomasintanker1@gmail.com> | 2024-05-24 12:33:53 +0200 |
commit | c00f589d6a1636f3b74be0b27becbca684da8cb7 (patch) | |
tree | 7162ee16c50978fe044f23b27ee90b5f5bf633c4 /main/i2c.c | |
parent | 4499d3cdfa2210a3c8be5e93f45fd7286e0d646d (diff) |
FIXED HARDFAULT
Diffstat (limited to 'main/i2c.c')
-rw-r--r-- | main/i2c.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -8,8 +8,6 @@ #include <hardware/i2c.h> void init_i2c() { - await_init(); - i2c_init(I2C_PORT, 100 * 1000); // currently at 100kHz // Initialize I2C pins - sda(16), scl(17) @@ -70,8 +68,6 @@ void bus_task() { // send updates at regular intervals await_init(); printf("Bus task!"); - - return; int i = 0; uint8_t found[MAX_SLAVES]; |