From c6dff0f738ecd7b1d8f7857dbf3b49fb23ee9b29 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 30 Jul 2019 23:27:21 +0800
Subject: [PATCH] Update setup_wiringPi shell script

---
 mqttd/hal/hal.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/mqttd/hal/hal.h b/mqttd/hal/hal.h
index 5788ff8..775885b 100644
--- a/mqttd/hal/hal.h
+++ b/mqttd/hal/hal.h
@@ -34,6 +34,8 @@
 	LED_MAX,
 };
 
-int hal_init(hwconf_t *conf);
+extern int hal_init(hwconf_t *conf);
+extern void turn_relay(int cmd);
+extern int turn_led(int which, int cmd);
 
 #endif   /* ----- #ifndef _HAL_H_  ----- */

--
Gitblit v1.9.1