Guo Wenxue
2019-06-27 4fe5c3b3f767773b8bfcc7f4bdba977a12239f7e
update hal.h to fix turn_led not definition bug
1 files modified
4 ■■■ changed files
mqttd/hal/hal.h 4 ●●● patch | view | raw | blame | history
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_  ----- */