diff options
Diffstat (limited to 'stm/usart.c')
-rw-r--r-- | stm/usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/usart.c b/stm/usart.c index e24211a83c..6478f01152 100644 --- a/stm/usart.c +++ b/stm/usart.c @@ -242,7 +242,7 @@ static const mp_method_t usart_methods[] = { }; static const mp_obj_type_t usart_obj_type = { - { &mp_const_type }, + { &mp_type_type }, .name = MP_QSTR_Usart, .print = usart_obj_print, .methods = usart_methods, |