From b50c48a6b8999850963f01167c259931b1c8b0c7 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 31 Jul 2019 12:56:58 +0800 Subject: [PATCH] WiringPi library source code packet, for official git server already shutdown --- mqttd/hal/hal.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mqttd/hal/hal.h b/mqttd/hal/hal.h index 775885b..027a078 100644 --- a/mqttd/hal/hal.h +++ b/mqttd/hal/hal.h @@ -37,5 +37,7 @@ 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