多行宏

This commit is contained in:
zogodo
2020-02-08 22:04:20 +08:00
parent df22816687
commit 2cf0aba49e
12 changed files with 16 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
#include "http_server/app_httpd.h"
#include "timed_task/timed_task.h"
#define os_log(format, ...) custom_log("TC1", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
#define os_log(format, ...) do { custom_log("TC1", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__) } while(0)
char rtc_init = 0; //sntp校时成功标志位
uint32_t total_time = 0;