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 3a7d8a7a7f..683e82bc66 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -148,7 +148,7 @@ static const mp_method_t led_methods[] = {
};
static const mp_obj_type_t led_obj_type = {
- { &mp_const_type },
+ { &mp_type_type },
.name = MP_QSTR_Led,
.print = led_obj_print,
.methods = led_methods,