From 4deb51ffc4dd4588183aed82bd7877909ba2130e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 31 Jul 2019 11:19:22 +0800
Subject: [PATCH] update mqtt configure file, support breakin detect support

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

diff --git a/mqttd/hal/hal.h b/mqttd/hal/hal.h
index 5788ff8..027a078 100644
--- a/mqttd/hal/hal.h
+++ b/mqttd/hal/hal.h
@@ -34,6 +34,10 @@
 	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);
+extern void init_infrared(int pin, int irq_type, void (*handler)(void));
+extern void turn_beep(int times);
 
 #endif   /* ----- #ifndef _HAL_H_  ----- */

--
Gitblit v1.9.1