summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builddefs/build_test.mk2
-rw-r--r--tests/test_common/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/builddefs/build_test.mk b/builddefs/build_test.mk
index 64db99fed9..7c8fdd20e5 100644
--- a/builddefs/build_test.mk
+++ b/builddefs/build_test.mk
@@ -71,7 +71,7 @@ include $(BUILDDEFS_PATH)/build_full_test.mk
endif
$(TEST)_SRC += \
- tests/test_common/main.c \
+ tests/test_common/main.cpp \
$(QUANTUM_PATH)/logging/print.c
$(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC)
diff --git a/tests/test_common/main.cpp b/tests/test_common/main.cpp
index 3e4b4c0f95..0f4e320b07 100644
--- a/tests/test_common/main.cpp
+++ b/tests/test_common/main.cpp
@@ -5,7 +5,7 @@ extern "C" {
#include "debug.h"
int8_t sendchar(uint8_t c) {
- fprintf(stderr, "%c", c);
+ fprintf(stdout, "%c", c);
return 0;
}