styles: optimize tanle
This commit is contained in:
@@ -30,6 +30,14 @@
|
|||||||
#define BH1750_Addr 0x46
|
#define BH1750_Addr 0x46
|
||||||
#define LIGHT_MAX_NAME_LEN 32
|
#define LIGHT_MAX_NAME_LEN 32
|
||||||
|
|
||||||
|
int e53_sc1_init(void);
|
||||||
|
|
||||||
|
float e53_scl_read_data(void);
|
||||||
|
|
||||||
|
void iot_explorer_handle_power_switch(int power_switch);
|
||||||
|
|
||||||
|
void key1_handle_power_switch(void);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
typedef enum{
|
typedef enum{
|
||||||
LIGHT_LEVEL_LOW = 0,
|
LIGHT_LEVEL_LOW = 0,
|
||||||
@@ -38,12 +46,4 @@ typedef enum{
|
|||||||
LIGTH_LEVEL_BUTT,
|
LIGTH_LEVEL_BUTT,
|
||||||
}E_LIGTH_LEVEL;
|
}E_LIGTH_LEVEL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int e53_sc1_init(void);
|
|
||||||
|
|
||||||
float e53_scl_read_data(void);
|
|
||||||
|
|
||||||
void iot_explorer_handle_power_switch(int power_switch);
|
|
||||||
|
|
||||||
void key1_handle_power_switch(void);
|
|
||||||
#endif /* _E53_SC1_H_ */
|
#endif /* _E53_SC1_H_ */
|
||||||
|
Reference in New Issue
Block a user