mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
去除旧的定时任务
This commit is contained in:
10
TC1/main.h
10
TC1/main.h
@@ -32,20 +32,10 @@
|
||||
#define Relay_5 MICO_GPIO_18
|
||||
#define Relay_NUM SOCKET_NUM
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char hour; //小时
|
||||
char minute; //分钟
|
||||
char repeat; //bit7:一次 bit6-0:周日-周一
|
||||
char action; //动作
|
||||
char on; //开关
|
||||
} user_socket_task_config_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char name[SOCKET_NAME_LENGTH];
|
||||
char on; //记录当前开关
|
||||
user_socket_task_config_t time_tasks[5];
|
||||
} user_socket_config_t;
|
||||
|
||||
//用户保存参数结构体
|
||||
|
||||
Reference in New Issue
Block a user