summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.c')
-rw-r--r--stm/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/led.c b/stm/led.c
index c517c3f6e8..3a7d8a7a7f 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -149,7 +149,7 @@ static const mp_method_t led_methods[] = {
static const mp_obj_type_t led_obj_type = {
{ &mp_const_type },
- "Led",
+ .name = MP_QSTR_Led,
.print = led_obj_print,
.methods = led_methods,
};