Skip to content

Commit f926c88

Browse files
author
guoyongchao
committed
fix typo
1 parent 2755c58 commit f926c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

motor/single_pwm_motor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static rt_err_t single_pwm_motor_set_speed(motor_t mot, rt_int16_t thousands)
7676
}
7777

7878

79-
motor_t single_pwm_motor_creat(char *pwm, int channel, rt_base_t pin1, rt_base_t pin2)
79+
motor_t single_pwm_motor_create(char *pwm, int channel, rt_base_t pin1, rt_base_t pin2)
8080
{
8181
single_pwm_motor_t new_motor = (single_pwm_motor_t)motor_create(sizeof(struct single_pwm_motor));
8282
if (new_motor == RT_NULL)

0 commit comments

Comments
 (0)