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 31d65283b5..4b69eefcfb 100644
--- a/stm/servo.c
+++ b/stm/servo.c
@@ -145,7 +145,7 @@ static const mp_method_t servo_methods[] = {
static const mp_obj_type_t servo_obj_type = {
{ &mp_const_type },
- "Servo",
+ .name = MP_QSTR_Servo,
.print = servo_obj_print,
.methods = servo_methods,
};