Fixed typo in macros.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Fabian Schlenz 2020-04-30 06:53:35 +02:00
parent 0863380648
commit b5bb0feccf

View File

@ -97,9 +97,9 @@
} while (0); } while (0);
#else #else
#define LOG(x, ...) Serial.printf(x, ##__VA_ARGS__); #define LOG(x, ...) Serial.printf(x, ##__VA_ARGS__);
#define LOGln(x, ...) Serial.printf(x, ##__VA_ARGS__); Serial.println(); #define LOGln(x, ...) { Serial.printf(x, ##__VA_ARGS__); Serial.println(); }
#endif #endif
#define DBG(msg, ...) Serial.printf(msg, ##__VA_ARGS__); Serial.println(); #define DBG(msg, ...) { Serial.printf(msg, ##__VA_ARGS__); Serial.println(); }
#else #else
#define LOG(x) do {} while(0); #define LOG(x) do {} while(0);
#define LOGln(x) do {} while(0); #define LOGln(x) do {} while(0);