10 lines
255 B
C
10 lines
255 B
C
#include <Arduino.h>
|
|
|
|
#define TEST(x) \
|
|
if (!(x)) { \
|
|
Serial.printf("\033[31;1mFAILED:\033[22;39m %s:%d %s\n", __FILE__, __LINE__, #x); \
|
|
status = 1; \
|
|
} else { \
|
|
Serial.printf("\033[32;1mOK:\033[22;39m %s\n", #x); \
|
|
}
|