diff --git a/src/lib.rs b/src/lib.rs
index b8ab7b6116fd1d9087cd67c3c6ddcb949c6900e9..eaf53f27f210c718b23339bef5c582479dc855db 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -143,11 +143,11 @@ pub mod apb2 {
 /// println over semihosting
 #[macro_export]
 macro_rules! println {
-    ($e:expr) => {
+    ($($e:tt)*) => {
         {  
             extern crate cortex_m_semihosting;
             use core::fmt::Write;            
-            writeln!(cortex_m_semihosting::hio::hstdout().unwrap(), $e).unwrap();
+            writeln!(cortex_m_semihosting::hio::hstdout().unwrap(), $($e)*).unwrap();
         }
     }
 }