mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 03:21:48 +08:00
Fix garbled test output (#18822)
* Fix garbled test output * Correct SRC listing
This commit is contained in:
parent
1a1a3651d3
commit
64ca14feea
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue