Convert some FIXMEs into NOTES
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1d92784608
commit
c374c25523
@ -29,7 +29,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.
|
// NOTE: 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);
|
||||||
|
|
||||||
@ -54,7 +54,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.
|
// NOTE: Same as above.
|
||||||
auto rc = cstyle_format(
|
auto rc = cstyle_format(
|
||||||
format, [](char c, void*) -> Result<void> { return TextConsole::putchar(c); }, nullptr, ap);
|
format, [](char c, void*) -> Result<void> { return TextConsole::putchar(c); }, nullptr, ap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user