aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-08-11 13:40:04 -0400
committerBrian Cully <bjc@kublai.com>2022-08-11 13:40:04 -0400
commit7846e30a25dfbbb2794035894d4b9e5c0f1ef41d (patch)
tree9ad8ee61fdcccd6200396d4f9164b4ad4d823d69 /src/log.rs
parent8c1cb71bbe54301b711519267d40bf854f6fcf1f (diff)
downloadluchie-7846e30a25dfbbb2794035894d4b9e5c0f1ef41d.tar.gz
luchie-7846e30a25dfbbb2794035894d4b9e5c0f1ef41d.zip
usb peripheral now starting ‘connect()’
Diffstat (limited to 'src/log.rs')
-rw-r--r--src/log.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.rs b/src/log.rs
index b6204d6..ddb6792 100644
--- a/src/log.rs
+++ b/src/log.rs
@@ -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)+)?)
}
}