aboutsummaryrefslogtreecommitdiff
path: root/stm/usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/usart.c')
-rw-r--r--stm/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/usart.c b/stm/usart.c
index 306284d5a..e24211a83 100644
--- a/stm/usart.c
+++ b/stm/usart.c
@@ -243,7 +243,7 @@ static const mp_method_t usart_methods[] = {
static const mp_obj_type_t usart_obj_type = {
{ &mp_const_type },
- "Usart",
+ .name = MP_QSTR_Usart,
.print = usart_obj_print,
.methods = usart_methods,
};