From 6a31936e80ae2743376dcbf9d39cd92461c4deca Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 25 Nov 2021 01:59:07 +0100 Subject: i2s init/start/running fixed; i2c start returns error if i2s is running --- fw/fe310/eos/eos.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fw/fe310/eos/eos.c') 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); -- cgit v1.2.3