Browse Source

Merge pull request #3194 from Steven-LiuSF/pwm-fix

components: drivers: misc: pwm: Missing "pwm1" here.
Bernard Xiong 5 years ago
parent
commit
0003582dc5
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 */