Skip to content

Commit

Permalink
Fix problem with with example logger
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Dec 19, 2023
1 parent afbed98 commit f57b4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/utils/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ cfg_if::cfg_if! {

#[allow(unused_macros)]
macro_rules! println {
($($tt:tt)*) => {
cortex_m_semihosting::hprintln!($($tt,)*).unwrap();
($($arg:tt)+) => {
cortex_m_semihosting::hprintln!($($arg)+).unwrap();
};
}

Expand Down

0 comments on commit f57b4d3

Please sign in to comment.