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/i2s_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fw/fe310/eos/i2s_def.h') diff --git a/fw/fe310/eos/i2s_def.h b/fw/fe310/eos/i2s_def.h index 1af70bb..a338828 100644 --- a/fw/fe310/eos/i2s_def.h +++ b/fw/fe310/eos/i2s_def.h @@ -1,5 +1,5 @@ -#define EOS_I2S_FMT_ALAW 0 -#define EOS_I2S_FMT_PCM16 1 +#define EOS_I2S_FMT_PCM16 0 +#define EOS_I2S_FMT_ALAW 1 #define EOS_I2S_ETYPE_MIC 1 #define EOS_I2S_ETYPE_SPK 2 -- cgit v1.2.3