mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 05:28:14 +08:00
好多Log
This commit is contained in:
@@ -34,9 +34,10 @@
|
||||
#include "SocketUtils.h"
|
||||
#include "ota_server.h"
|
||||
#include "url.h"
|
||||
#include "http_server/web_log.h"
|
||||
|
||||
#if OTA_DEBUG
|
||||
#define ota_server_log(M, ...) custom_log("OTA", M, ##__VA_ARGS__)
|
||||
#define ota_server_log(M, ...) custom_log("OTA", M, ##__VA_ARGS__); web_log(M, ##__VA_ARGS__)
|
||||
#else
|
||||
#define ota_server_log(M, ...)
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__)
|
||||
#include "http_server/web_log.h"
|
||||
#define os_log(format, ...) custom_log("OTA", format, ##__VA_ARGS__); web_log(format, ##__VA_ARGS__)
|
||||
|
||||
#include "mico.h"
|
||||
#include "ota_server/ota_server.h"
|
||||
|
||||
Reference in New Issue
Block a user