mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
多行宏
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include "http_server/web_log.h"
|
||||
|
||||
#if OTA_DEBUG
|
||||
#define ota_server_log(M, ...) custom_log("OTA", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__)
|
||||
#define ota_server_log(M, ...) do { custom_log("OTA", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__) } while(0)
|
||||
#else
|
||||
#define ota_server_log(M, ...)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user