From 6848a42d2c7ca219afe7fe9fbc6d657cc979de02 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 24 Jul 2025 15:56:42 +0800
Subject: [PATCH] Add default config file for coreMQTT and coreSNTP
---
modules/pwm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/pwm.c b/modules/pwm.c
index 6c8f5d8..542971b 100644
--- a/modules/pwm.c
+++ b/modules/pwm.c
@@ -195,7 +195,7 @@
}
/* configure PWM $channel */
-int config_pwm(int channel, int freq, int duty)
+int config_pwm(int channel, int freq, int duty)
{
int fd;
char buf[32];
@@ -240,7 +240,7 @@
if( (rv=export_pwm(channel, 1)) )
{
printf("export PWM channel[%d] failed, rv=%d\n", channel, rv);
- return rv;
+ return rv;
}
if( (rv=config_pwm(channel, freq, duty)) )
--
Gitblit v1.9.1