fixes for stm and mimxrt10xx
This commit is contained in:
parent
85650bf1ab
commit
ca7be16209
|
@ -245,8 +245,8 @@ MP_DEFINE_CONST_OBJ_TYPE(
|
|||
audiobusio_pdmin_type,
|
||||
MP_QSTR_PDMIn,
|
||||
MP_TYPE_FLAG_NONE,
|
||||
make_new, audiobusio_pdmin_make_new,
|
||||
make_new, audiobusio_pdmin_make_new
|
||||
#if CIRCUITPY_AUDIOBUSIO_PDMIN
|
||||
locals_dict, &audiobusio_pdmin_locals_dict
|
||||
, locals_dict, &audiobusio_pdmin_locals_dict
|
||||
#endif
|
||||
);
|
||||
|
|
|
@ -170,6 +170,6 @@ MP_DEFINE_CONST_OBJ_TYPE(
|
|||
canio_listener_type,
|
||||
MP_QSTR_Listener,
|
||||
MP_TYPE_FLAG_ITER_IS_ITERNEXT,
|
||||
.locals_dict = (mp_obj_dict_t *)&canio_listener_locals_dict,
|
||||
.iternext = canio_iternext
|
||||
locals_dict, &canio_listener_locals_dict,
|
||||
iter, canio_iternext
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue