From 12eacb8df6e86ab62ac90daa3db2cfd5bcb28a9c Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Mon, 11 Nov 2019 17:10:25 +0800 Subject: [PATCH] components: drivers: misc: pwm: Missing "pwm1" here. --- components/drivers/misc/rt_drv_pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/misc/rt_drv_pwm.c b/components/drivers/misc/rt_drv_pwm.c index 2b7986b4d8..97d38d51b3 100644 --- a/components/drivers/misc/rt_drv_pwm.c +++ b/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 */