diff options
author | Brian Cully <bjc@kublai.com> | 2022-08-11 13:40:04 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2022-08-11 13:40:04 -0400 |
commit | 7846e30a25dfbbb2794035894d4b9e5c0f1ef41d (patch) | |
tree | 9ad8ee61fdcccd6200396d4f9164b4ad4d823d69 /src/log.rs | |
parent | 8c1cb71bbe54301b711519267d40bf854f6fcf1f (diff) | |
download | luchie-7846e30a25dfbbb2794035894d4b9e5c0f1ef41d.tar.gz luchie-7846e30a25dfbbb2794035894d4b9e5c0f1ef41d.zip |
usb peripheral now starting ‘connect()’
Diffstat (limited to 'src/log.rs')
-rw-r--r-- | src/log.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ use riscv::interrupt::{self, Mutex}; #[macro_export] macro_rules! log { ($($args:tt)+) => { - $crate::log::log_args(core::format_args!($($args)+)); + $crate::log::log_args(core::format_args!($($args)+)) } } @@ -17,7 +17,7 @@ macro_rules! log { macro_rules! logln { () => ({ kprint!("\r\n") }); ($fmt: literal $(, $($arg: tt)+)?) => { - log!(concat!($fmt, "\n") $(, $($arg)+)?); + log!(concat!($fmt, "\n") $(, $($arg)+)?) } } |