mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
多行宏
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user