summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/i2s_def.h')
-rw-r--r--code/fe310/eos/i2s_def.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/code/fe310/eos/i2s_def.h b/code/fe310/eos/i2s_def.h
index 06fef72..1f7687a 100644
--- a/code/fe310/eos/i2s_def.h
+++ b/code/fe310/eos/i2s_def.h
@@ -1,6 +1,5 @@
-#define I2S_EVT_MIC 0x0
-#define I2S_EVT_SPK 0x1
-#define I2S_MAX_HANDLER 2
+#define I2S_ETYPE_MIC 1
+#define I2S_ETYPE_SPK 2
#define I2S_PIN_CK 1 /* PWM 0.1 */
#define I2S_PIN_CK_SW 21 /* PWM 1.2 */