From 47579e3790b1ee5a1ad2ce35ea6028cd9ddf6ea0 Mon Sep 17 00:00:00 2001
From: GuoWenxue <“guowenxue@gmail.com”>
Date: Fri, 29 Apr 2022 09:23:27 +0800
Subject: [PATCH] update client_main.c to use packet_segmented_pack

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

diff --git a/modules/c/makefile b/modules/c/makefile
index c4d4d6e..e397ab0 100644
--- a/modules/c/makefile
+++ b/modules/c/makefile
@@ -18,8 +18,9 @@
 CFLAGS+=-I${PWD}
 #CFLAGS+=-Wall -Werror
 
-LDFLAGS+=-lwiringPi
+LDFLAGS+=-lgpiod
 LDFLAGS+=-lpthread
+LDFLAGS+=-lm
 
 VPATH= .
 SRCS = $(wildcard ${VPATH}/*.c)

--
Gitblit v1.9.1