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/gpiod.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/c/gpiod.c b/modules/c/gpiod.c
index 3ad04bd..c59e694 100644
--- a/modules/c/gpiod.c
+++ b/modules/c/gpiod.c
@@ -40,8 +40,9 @@
 	if( argc != 3 )
 	{
 		printf("  Usage: sudo %s [BCM Pin number] [1/0]\n", argv[0]);
-		printf("example, turn BCM Pin #6 lowlevel : sudo %s 6 0\n", argv[0]);
-		printf("example, turn BCM Pin #6 highlevel: sudo %s 6 1\n", argv[0]);
+		printf("example, turn BCM Pin #19 lowlevel : sudo %s 19 0\n", argv[0]);
+		printf("example, turn BCM Pin #19 highlevel: sudo %s 19 1\n", argv[0]);
+		return 0;
 	}
 
 	bcm_pin = atoi(argv[1]);

--
Gitblit v1.9.1