多行宏

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

@@ -1,5 +1,5 @@
#include "http_server/web_log.h"
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
#define os_log(format, ...) do { custom_log("OTA", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__) } while(0)
#include "mico.h"
#include "ota_server/ota_server.h"