Skip to content

Commit 72e3cfd

Browse files
committed
Fix arg type for AudioOut(..., quiescent_value=...)
1 parent 7a52712 commit 72e3cfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/audioio/AudioOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ STATIC mp_obj_t audioio_audioout_make_new(const mp_obj_type_t *type, size_t n_ar
101101
static const mp_arg_t allowed_args[] = {
102102
{ MP_QSTR_left_channel, MP_ARG_OBJ | MP_ARG_REQUIRED },
103103
{ MP_QSTR_right_channel, MP_ARG_OBJ | MP_ARG_KW_ONLY, {.u_rom_obj = mp_const_none} },
104-
{ MP_QSTR_quiescent_value, MP_ARG_OBJ | MP_ARG_KW_ONLY, {.u_int = 0x8000} },
104+
{ MP_QSTR_quiescent_value, MP_ARG_INT | MP_ARG_KW_ONLY, {.u_int = 0x8000} },
105105
};
106106
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
107107
mp_arg_parse_all(n_args, pos_args, &kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);

0 commit comments

Comments
 (0)