Skip to content

Commit 58bb3db

Browse files
committed
fix: aarch64 test
Signed-off-by: Zone.N <zone.niuzh@hotmail.com>
1 parent 527f305 commit 58bb3db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/system_test/cxx_init_test/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ extern "C" void _putchar(char character) { serial.Write(character); }
3030
extern "C" void _putchar(char character) {
3131
sbi_debug_console_write_byte(character);
3232
}
33+
#elif __aarch64__
34+
extern "C" void _putchar(char character) { (void)character; }
3335
#endif
3436

3537
template <uint32_t V>

0 commit comments

Comments
 (0)