summaryrefslogtreecommitdiffstatshomepage
path: root/stm/servo.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/servo.c')
-rw-r--r--stm/servo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/servo.c b/stm/servo.c
index 4b69eefcfb..4943a64425 100644
--- a/stm/servo.c
+++ b/stm/servo.c
@@ -144,7 +144,7 @@ static const mp_method_t servo_methods[] = {
};
static const mp_obj_type_t servo_obj_type = {
- { &mp_const_type },
+ { &mp_type_type },
.name = MP_QSTR_Servo,
.print = servo_obj_print,
.methods = servo_methods,