From cbbab621e5e5d3b1407bd898544ab8b7487563a3 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 12 Mar 2024 17:18:44 +0800 Subject: [PATCH] Update led and pwm source code to remove compile warnning --- modules/pwm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/pwm.c b/modules/pwm.c index ac1412f..6c8f5d8 100644 --- a/modules/pwm.c +++ b/modules/pwm.c @@ -57,7 +57,7 @@ printf(" -c[channel ] Specify PWM channel, such as 0\n"); printf(" -f[freq ] Specify PWM frequency, default 2500(Hz)\n"); - printf(" -d[duty ] Specify PWM duty, default 50(50%)\n"); + printf(" -d[duty ] Specify PWM duty, default 50(50%%)\n"); printf(" -s[status ] Specify PWM status: 1->on(default), 0->off\n"); printf(" -h[help ] Display this help information\n"); printf(" -v[version ] Display the program version\n"); -- Gitblit v1.9.1