summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/ecp.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2023-04-21 21:13:50 +0200
committerUros Majstorovic <majstor@majstor.org>2023-04-21 21:13:50 +0200
commita0059ab4365f41c84bb8bdf914477f5d4feeb985 (patch)
tree73baeb6706e44c8ccfe675fbf0001aa773af0a77 /fw/fe310/phone/ecp.c
parent8c6001b298271bb52fa7142235ce7faa24b3e90e (diff)
improved i2s driver
Diffstat (limited to 'fw/fe310/phone/ecp.c')
-rw-r--r--fw/fe310/phone/ecp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/phone/ecp.c b/fw/fe310/phone/ecp.c
index 6ce9c8f..32c15ea 100644
--- a/fw/fe310/phone/ecp.c
+++ b/fw/fe310/phone/ecp.c
@@ -58,7 +58,7 @@ static int handle_open(ECPConnection *conn, ECP2Buffer *b) {
static ssize_t handle_msg(ECPConnection *conn, ecp_seq_t seq, unsigned char mtype, unsigned char *msg, size_t msg_size, ECP2Buffer *b) {
switch (mtype) {
case MTYPE_VOIP: {
- eos_i2s_spk_write(msg, msg_size);
+ eos_i2s_spk_write(msg, msg_size, EOS_I2S_TRANS_MONO2D);
break;
}