启用 pwm 设备

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2023-01-06 15:25:18 +08:00
parent 34b4188c72
commit e639054d89
7 changed files with 238 additions and 101 deletions

View File

@@ -639,7 +639,7 @@ static void pwm_get_channel(void)
#endif
}
static int stm32_pwm_init(void)
int stm32_pwm_init(void)
{
int i = 0;
int result = RT_EOK;
@@ -675,5 +675,5 @@ static int stm32_pwm_init(void)
__exit:
return result;
}
INIT_DEVICE_EXPORT(stm32_pwm_init);
//INIT_DEVICE_EXPORT(stm32_pwm_init);
#endif /* RT_USING_PWM */