summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-10-08 22:47:10 +0200
committerUros Majstorovic <majstor@majstor.org>2019-10-08 22:47:10 +0200
commit99739c5a4c3ecec5aec81711d2e5385bfe7a2b10 (patch)
tree8c5f706e7f3a97a8956b64ce12e8eff43d7b992a /code/fe310/eos/i2s.c
parent4c4154b1c37a8f1909836547db35dbc7029c90b1 (diff)
fixed audio and spi pins for board REV1
Diffstat (limited to 'code/fe310/eos/i2s.c')
-rw-r--r--code/fe310/eos/i2s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/i2s.c b/code/fe310/eos/i2s.c
index d6e924b..2ff465e 100644
--- a/code/fe310/eos/i2s.c
+++ b/code/fe310/eos/i2s.c
@@ -12,8 +12,8 @@
#include "i2s_def.h"
#define I2S_PWM_REG_CK PWM0_REG
-#define I2S_PWM_REG_WS_SPK PWM1_REG
-#define I2S_PWM_REG_WS_MIC PWM2_REG
+#define I2S_PWM_REG_WS_MIC PWM1_REG
+#define I2S_PWM_REG_WS_SPK PWM2_REG
#define EOS_ABUF_IDX_MASK(IDX, SIZE) ((IDX) & ((SIZE) - 1))