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_ ----- */