Puck/include/log.h
Christoph Hagen e338a5fd0f First version
2022-08-29 11:17:03 +02:00

16 lines
234 B
C

#ifdef SERIAL_LOGGING
#define INIT_LOGGING Serial.begin(115200)
#define LOG_DEBUG(X) \
Serial.print(X);
#define LOG_DEBUG_LN(X) \
Serial.println(X);
#else
#define INIT_LOGGING
#define LOG_DEBUG(X);
#define LOG_DEBUG_LN(X);
#endif