From ee853ef03d3e0eeae6548ff4627f74cc3a4e2b98 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 31 Jul 2020 19:51:52 +0800 Subject: [PATCH 1/2] Update farm_ai_demo.h __MQTT_DEMO_H__ -> __FARM_AI_DEMO_H__ --- examples/farm_ai_demo/farm_ai_demo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/farm_ai_demo/farm_ai_demo.h b/examples/farm_ai_demo/farm_ai_demo.h index 88b152ac..789f4767 100644 --- a/examples/farm_ai_demo/farm_ai_demo.h +++ b/examples/farm_ai_demo/farm_ai_demo.h @@ -1,5 +1,5 @@ -#ifndef __MQTT_DEMO_H__ -#define __MQTT_DEMO_H__ +#ifndef __FARM_AI_DEMO_H__ +#define __FARM_AI_DEMO_H__ #include "mcu_init.h" #include "tos_at.h" @@ -12,5 +12,5 @@ extern void application_entry(void *arg); extern void motor_control(char mode); extern void light_control(char mode); -#endif /* __MQTT_DEMO_H__ */ +#endif /* __FARM_AI_DEMO_H__ */ From 054a8b18ef1024156d82e930ee4057e5977b2822 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 31 Jul 2020 20:09:16 +0800 Subject: [PATCH 2/2] Update farm_ai_demo.h --- examples/farm_ai_demo/farm_ai_demo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/farm_ai_demo/farm_ai_demo.h b/examples/farm_ai_demo/farm_ai_demo.h index 789f4767..fe47eb66 100644 --- a/examples/farm_ai_demo/farm_ai_demo.h +++ b/examples/farm_ai_demo/farm_ai_demo.h @@ -1,5 +1,5 @@ -#ifndef __FARM_AI_DEMO_H__ -#define __FARM_AI_DEMO_H__ +#ifndef _FARM_AI_DEMO_H_ +#define _FARM_AI_DEMO_H_ #include "mcu_init.h" #include "tos_at.h" @@ -13,4 +13,4 @@ extern void application_entry(void *arg); extern void motor_control(char mode); extern void light_control(char mode); -#endif /* __FARM_AI_DEMO_H__ */ +#endif /* _FARM_AI_DEMO_H_ */