diff options
Diffstat (limited to 'ports/stm32/servo.c')
| -rw-r--r-- | ports/stm32/servo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/servo.c b/ports/stm32/servo.c index e0aa2d6b6..07cc4eab8 100644 --- a/ports/stm32/servo.c +++ b/ports/stm32/servo.c @@ -48,7 +48,7 @@ typedef struct _pyb_servo_obj_t { mp_obj_base_t base; - const pin_obj_t *pin; + const machine_pin_obj_t *pin; uint8_t pulse_min; // units of 10us uint8_t pulse_max; // units of 10us uint8_t pulse_centre; // units of 10us |
