Add two FIXMEs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2022-12-19 21:41:27 +01:00
parent 042f999677
commit 703c3f44fb
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -26,6 +26,7 @@ static void log_serial(LogLevel level, const char* format, va_list origin)
Serial::printf("%4zu.%.3zu ", Timer::ticks(), Timer::ticks_ms() - (Timer::ticks() * 1000)); Serial::printf("%4zu.%.3zu ", Timer::ticks(), Timer::ticks_ms() - (Timer::ticks() * 1000));
// FIXME: We do this manually because of a lack of vprintf() in both Serial and TextConsole.
pure_cstyle_format( pure_cstyle_format(
format, [](char c, void*) { Serial::putchar((u8)c); }, nullptr, ap); format, [](char c, void*) { Serial::putchar((u8)c); }, nullptr, ap);
@ -50,6 +51,7 @@ static void log_text_console(LogLevel level, const char* format, va_list origin)
else else
TextConsole::set_foreground(WHITE); TextConsole::set_foreground(WHITE);
// FIXME: Same as above.
pure_cstyle_format( pure_cstyle_format(
format, [](char c, void*) { TextConsole::putchar(c); }, nullptr, ap); format, [](char c, void*) { TextConsole::putchar(c); }, nullptr, ap);