Skip to content

Commit a71fb48

Browse files
committed
fix/m5/speaker: Modify playRaw method
Signed-off-by: lbuque <[email protected]>
1 parent b1f8b44 commit a71fb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/components/M5Unified/mpy_m5spk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ namespace m5
350350
{ MP_QSTR_rate, MP_ARG_INT, {.u_int = 44100} },
351351
{ MP_QSTR_stereo, MP_ARG_BOOL, {.u_bool = mp_const_false} },
352352
{ MP_QSTR_repeat, MP_ARG_INT, {.u_int = 1} },
353-
{ MP_QSTR_channel, MP_ARG_INT, {.u_int = 1} },
353+
{ MP_QSTR_channel, MP_ARG_INT, {.u_int = -1} },
354354
{ MP_QSTR_stop_current_sound, MP_ARG_BOOL, {.u_bool = mp_const_false} },
355355
};
356356
/* *FORMAT-ON* */

0 commit comments

Comments
 (0)