mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-10-14 00:51:30 +08:00
Update debug_esp3d.h
Use default debug of ESP32 i DEBUG is disabled
This commit is contained in:
parent
a628ef2a97
commit
6d5c08be24
@ -22,8 +22,13 @@
|
|||||||
#define _DEBUG_ESP3D_H
|
#define _DEBUG_ESP3D_H
|
||||||
|
|
||||||
#include "../include/esp3d_config.h"
|
#include "../include/esp3d_config.h"
|
||||||
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
#define log_esp3d(format, ...) log_d(format, ##__VA_ARGS__)
|
||||||
|
#define log_esp3dS(format, ...) log_d(format, ##__VA_ARGS__)
|
||||||
|
#else
|
||||||
#define log_esp3d(format, ...)
|
#define log_esp3d(format, ...)
|
||||||
#define log_esp3dS(format, ...)
|
#define log_esp3dS(format, ...)
|
||||||
|
#endif
|
||||||
#define DEBUG_ESP3D_INIT
|
#define DEBUG_ESP3D_INIT
|
||||||
#define DEBUG_ESP3D_NETWORK_INIT
|
#define DEBUG_ESP3D_NETWORK_INIT
|
||||||
#define DEBUG_ESP3D_NETWORK_HANDLE
|
#define DEBUG_ESP3D_NETWORK_HANDLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user