We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 291a6af + d6dc209 commit 999846eCopy full SHA for 999846e
libraries/ThreadDebug/src/ThreadDebug.cpp
@@ -71,10 +71,12 @@ static const char* g_threadNamesToIgnore[] = {
71
#define EXC_RETURN_THREADMODE_MAINSTACK 0x9
72
73
// Macro to make is easier to calculate array size.
74
+#undef ARRAY_SIZE
75
#define ARRAY_SIZE(X) (sizeof(X)/sizeof(X[0]))
76
77
// Assert routine that will dump error text to USB GDB connection before entering infinite loop. If user is logging MRI
78
// remote communications then they will see the error text in the log before debug stub becomes unresponseive.
79
+#undef ASSERT
80
#define ASSERT(X) \
81
if (!(X)) { \
82
Serial.print("Assertion Failed: "); \
0 commit comments