mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
all: Remove unnecessary locals_dict cast.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
b7d6ee9b75
commit
9dce82776d
@@ -1477,7 +1477,7 @@ MP_DEFINE_CONST_OBJ_TYPE(
|
||||
MP_TYPE_FLAG_NONE,
|
||||
pyb_timer_make_new,
|
||||
print, pyb_timer_print,
|
||||
locals_dict, (mp_obj_dict_t *)&pyb_timer_locals_dict
|
||||
locals_dict, &pyb_timer_locals_dict
|
||||
);
|
||||
|
||||
/// \moduleref pyb
|
||||
@@ -1617,7 +1617,7 @@ STATIC MP_DEFINE_CONST_OBJ_TYPE(
|
||||
MP_TYPE_FLAG_NONE,
|
||||
MP_TYPE_NULL_MAKE_NEW,
|
||||
print, pyb_timer_channel_print,
|
||||
locals_dict, (mp_obj_dict_t *)&pyb_timer_channel_locals_dict
|
||||
locals_dict, &pyb_timer_channel_locals_dict
|
||||
);
|
||||
|
||||
STATIC void timer_handle_irq_channel(pyb_timer_obj_t *tim, uint8_t channel, mp_obj_t callback) {
|
||||
|
||||
Reference in New Issue
Block a user