diff options
Diffstat (limited to 'stmhal/servo.h')
-rw-r--r-- | stmhal/servo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/servo.h b/stmhal/servo.h index 121ce922df..0fca8fea17 100644 --- a/stmhal/servo.h +++ b/stmhal/servo.h @@ -29,5 +29,5 @@ void servo_timer_irq_callback(void); extern const mp_obj_type_t pyb_servo_type; -MP_DECLARE_CONST_FUN_OBJ(pyb_servo_set_obj); -MP_DECLARE_CONST_FUN_OBJ(pyb_pwm_set_obj); +MP_DECLARE_CONST_FUN_OBJ_2(pyb_servo_set_obj); +MP_DECLARE_CONST_FUN_OBJ_2(pyb_pwm_set_obj); |