summaryrefslogtreecommitdiff
path: root/code/fe310/eos/trap_entry.S
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-02-26 02:40:21 +0100
committerUros Majstorovic <majstor@majstor.org>2020-02-26 02:40:21 +0100
commitc8808cf560401eff5465891407f290d6c41aa2c5 (patch)
treedeb40e13050e35f8602491f4afd9efc4feac4787 /code/fe310/eos/trap_entry.S
parent6666a131ab36b1d96a854da80524d860f9a3884b (diff)
event rename
Diffstat (limited to 'code/fe310/eos/trap_entry.S')
-rw-r--r--code/fe310/eos/trap_entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/trap_entry.S b/code/fe310/eos/trap_entry.S
index 4172570..c24236b 100644
--- a/code/fe310/eos/trap_entry.S
+++ b/code/fe310/eos/trap_entry.S
@@ -156,7 +156,7 @@ i2s_abuf_pop:
# push to event queue
jal x22, evtq_push
beqz x21, i2s_decode
- li x18, (EOS_EVT_AUDIO | I2S_ETYPE_SPK)
+ li x18, (EOS_EVT_I2S | I2S_ETYPE_SPK)
sb x18, MSGQ_ITEM_OFF_TYPE(x21)
i2s_decode:
@@ -349,7 +349,7 @@ i2s_abuf_push:
# push to event queue
jal x22, evtq_push
beqz x21, i2s_handle_sd_exit
- li x18, (EOS_EVT_AUDIO | I2S_ETYPE_MIC)
+ li x18, (EOS_EVT_I2S | I2S_ETYPE_MIC)
sb x18, MSGQ_ITEM_OFF_TYPE(x21)
i2s_handle_sd_exit: