Kernel: debug printing now show system time correctly
This commit is contained in:
parent
d806778a6d
commit
fd6e0ed0f7
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#define dprintln(...) \
|
#define dprintln(...) \
|
||||||
do { \
|
do { \
|
||||||
BAN::Formatter::print<Serial::serial_putc>("[{5.3}] {}({}): ", (float)PIT::ms_since_boot(), __FILE__, __LINE__); \
|
BAN::Formatter::print<Serial::serial_putc>("[{5.3}] {}({}): ", (float)PIT::ms_since_boot() / 1000.0f, __FILE__, __LINE__); \
|
||||||
BAN::Formatter::println<Serial::serial_putc>(__VA_ARGS__); \
|
BAN::Formatter::println<Serial::serial_putc>(__VA_ARGS__); \
|
||||||
} while(false)
|
} while(false)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue