From 732d1963ed83abf4e5f1b06ec451a6943421d716 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Thu, 22 Sep 2022 00:36:11 +0800
Subject: [PATCH] update ds18b20.c to snprintf

---
 modules/c/makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/c/makefile b/modules/c/makefile
index 9eaad45..e397ab0 100644
--- a/modules/c/makefile
+++ b/modules/c/makefile
@@ -18,7 +18,7 @@
 CFLAGS+=-I${PWD}
 #CFLAGS+=-Wall -Werror
 
-LDFLAGS+=-lwiringPi
+LDFLAGS+=-lgpiod
 LDFLAGS+=-lpthread
 LDFLAGS+=-lm
 

--
Gitblit v1.9.1