summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-03-21 02:24:59 +0100
committerUros Majstorovic <majstor@majstor.org>2022-03-21 02:24:59 +0100
commit0a5f8363fe4e6b3c7d4f17fde61e00ab63e43bcb (patch)
tree6c99f62b31cb52820ba7fb97edc5f95d5db4d0bf /fw/fe310/eos/eos.c
parent2e2dda8fa91b946c7d1a3a2de00327ee74f398fc (diff)
i2s stereo driver
Diffstat (limited to 'fw/fe310/eos/eos.c')
-rw-r--r--fw/fe310/eos/eos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/eos.c b/fw/fe310/eos/eos.c
index bf0f0da..b52ed93 100644
--- a/fw/fe310/eos/eos.c
+++ b/fw/fe310/eos/eos.c
@@ -28,13 +28,13 @@ void eos_init(void) {
int touch_calibrate = 0;
int rv;
- printf("INIT:%d\n", wakeup_cause);
-
eos_evtq_init(wakeup_cause);
eos_intr_init(wakeup_cause);
eos_timer_init(wakeup_cause);
eos_uart_init(wakeup_cause);
+ printf("INIT:%d\n", wakeup_cause);
+
rv = eos_pwr_init(wakeup_cause);
if (rv) printf("PWR INIT ERR:%d\n", rv);
rv = eos_i2s_init(wakeup_cause);