diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-11-25 01:59:07 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-25 01:59:07 +0100 |
commit | 6a31936e80ae2743376dcbf9d39cd92461c4deca (patch) | |
tree | f6dedd2cbf3aee9bb8135c7a4ff874c066a6d072 /fw/fe310/eos/eos.c | |
parent | c44897fda572cf8837b4535a6d1aaad4605c14af (diff) |
i2s init/start/running fixed; i2c start returns error if i2s is running
Diffstat (limited to 'fw/fe310/eos/eos.c')
-rw-r--r-- | fw/fe310/eos/eos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fw/fe310/eos/eos.c b/fw/fe310/eos/eos.c index e394862..96fc298 100644 --- a/fw/fe310/eos/eos.c +++ b/fw/fe310/eos/eos.c @@ -5,6 +5,7 @@ #include "timer.h" #include "power.h" #include "i2s.h" +#include "i2c.h" #include "uart.h" #include "spi.h" #include "spi_dev.h" @@ -32,6 +33,7 @@ void eos_init(void) { eos_intr_init(wakeup_cause); eos_timer_init(wakeup_cause); eos_i2s_init(wakeup_cause); + eos_i2c_init(wakeup_cause); eos_uart_init(wakeup_cause); eos_spi_init(wakeup_cause); eos_spi_dev_init(wakeup_cause); |