From 2db120f65b048e309e232d454b732a92eb1688f9 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Thu, 22 Apr 2021 02:13:06 +0800 Subject: [PATCH] update infrared.c --- iotd/hal/gpio.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/iotd/hal/gpio.h b/iotd/hal/gpio.h index 455960f..6a45e11 100644 --- a/iotd/hal/gpio.h +++ b/iotd/hal/gpio.h @@ -41,9 +41,8 @@ extern int gpio_init(gpio_t *gpio); extern void gpio_term(void); - /* turn which light on/off */ -void gpio_out(char *name, char *cmd); +extern void gpio_out(char *name, char *cmd); /* Return value: 0(LOW): Nobody detected, !0: Which infrared detect incoming */ extern int infrared_detect(void); -- Gitblit v1.9.1