We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1200728 + 9785159 commit f98137aCopy full SHA for f98137a
TESTS/API/InterruptIn/InterruptIn.cpp
@@ -33,6 +33,7 @@ volatile bool result = false;
33
void cbfn(void)
34
{
35
result = true;
36
+ DEBUG_PRINTF("\t**** Interrupt Triggered!\n");
37
}
38
39
// Template to check Falling edge and Rising edge interrupts.
ci_test_config.h
@@ -16,8 +16,10 @@
16
#ifndef CI_TEST_CONFIG_H
17
#define CI_TEST_CONFIG_H
18
19
+#include "utest_serial.h"
20
+
21
#if defined(MBED_CONF_APP_DEBUG_MSG) && (MBED_CONF_APP_DEBUG_MSG != 0)
-#define DEBUG_PRINTF(...) do { printf(__VA_ARGS__); } while(0)
22
+#define DEBUG_PRINTF(...) do { utest_printf(__VA_ARGS__); } while(0)
23
#else
24
#define DEBUG_PRINTF(...) {}
25
#endif
0 commit comments