Browse Source

components: drivers: misc: pwm: Missing "pwm1" here.

Steven Liu 5 years ago
parent
commit
12eacb8df6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/misc/rt_drv_pwm.c

+ 1 - 1
components/drivers/misc/rt_drv_pwm.c

@@ -259,7 +259,7 @@ static int pwm_set(int argc, char **argv)
 _exit:
     return result;
 }
-MSH_CMD_EXPORT(pwm_set, pwm_set 1 100 50);
+MSH_CMD_EXPORT(pwm_set, pwm_set pwm1 1 100 50);
 
 #endif /* FINSH_USING_MSH */
 #endif /* RT_USING_FINSH */