Skip to content

Commit

Permalink
Using proper log macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-summers committed Feb 28, 2024
1 parent deec99c commit c82290c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[cfg(all(feature = "log", not(feature = "defmt")))]
macro_rules! usb_log {
(trace, $($arg:expr),*) => { log::trace!($($arg),*) };
(debug, $($arg:expr),*) => { log::trace!($($arg),*) };
(debug, $($arg:expr),*) => { log::debug!($($arg),*) };
}

#[cfg(feature = "defmt")]
Expand Down

0 comments on commit c82290c

Please sign in to comment.