From a574ce7edf7f31847be882f9f08dcd1ab8e5ebe0 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 16:00:47 +0800
Subject: [PATCH] update lightd and thingsboard
---
project/modules/pwm.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/project/modules/pwm.c b/project/modules/pwm.c
index 922ccbf..134b799 100644
--- a/project/modules/pwm.c
+++ b/project/modules/pwm.c
@@ -32,7 +32,7 @@
#include <libgen.h>
#include "logger.h"
-#include "util_proc.h"
+#include "utils.h"
#include "pwm.h"
/* check PWM $channel export or not */
@@ -118,8 +118,6 @@
int init_pwm(int channel, int freq, int duty)
{
int rv;
- char buf[32];
- char path[256];
if( (rv=export_pwm(channel, 1)) )
{
--
Gitblit v1.9.1