Update debug_esp3d.h

Use default debug of ESP32 i DEBUG is disabled
This commit is contained in:
Luc 2019-11-02 18:50:50 +01:00
parent a628ef2a97
commit 6d5c08be24

View File

@ -22,8 +22,13 @@
#define _DEBUG_ESP3D_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_esp3dS(format, ...)
#endif
#define DEBUG_ESP3D_INIT
#define DEBUG_ESP3D_NETWORK_INIT
#define DEBUG_ESP3D_NETWORK_HANDLE