多行宏

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

@@ -7,7 +7,7 @@
#include "mqtt_server/user_function.h"
#include "http_server/web_log.h"
#define os_log(format, ...) custom_log("WIFI", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
#define os_log(format, ...) do { custom_log("WIFI", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__) } while(0)
char wifi_status = WIFI_STATE_NOCONNECT;