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/leds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/leds.c b/modules/leds.c
index 7ea158b..6f68356 100644
--- a/modules/leds.c
+++ b/modules/leds.c
@@ -107,7 +107,7 @@
printf("initial leds gpio failure, rv=%d\n", rv);
return 1;
}
- printf("initial RGB Led gpios okay\n", rv);
+ printf("initial RGB Led gpios okay\n");
signal(SIGINT, sig_handler);
signal(SIGTERM, sig_handler);
--
Gitblit v1.9.1