Only one fb-terminal-based putchar_()
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
#include "spinlock/spinlock.h"
|
||||
#include "bootinfo/bootinfo.h"
|
||||
#include "term.h"
|
||||
#include "putchar.h"
|
||||
#include "fm-t-437.f16.h"
|
||||
|
||||
Term TERM;
|
||||
@ -48,9 +47,7 @@ void term_write_unsafe(const char *s, size_t len) {
|
||||
flanterm_write(TERM.ftctx, s, len);
|
||||
}
|
||||
|
||||
#if PUTCHAR_ == PUTCHAR_FB
|
||||
// For printf library
|
||||
void putchar_(char c) {
|
||||
term_write_unsafe(&c, 1);
|
||||
}
|
||||
#endif
|
||||
// For printf library
|
||||
void putchar_(char c) {
|
||||
term_write_unsafe(&c, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user