We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa5439 commit 19a89dbCopy full SHA for 19a89db
1 file changed
psp/src/debug.rs
@@ -8,10 +8,13 @@ use core::fmt;
8
/// Like `println!`, but prints to the PSP screen.
9
#[macro_export]
10
macro_rules! dprintln {
11
+ () => {
12
+ $crate::dprint("\n")
13
+ };
14
($($arg:tt)*) => {{
- $crate::debug::print_args(core::format_args!($($arg)*));
- $crate::debug::print_args(core::format_args!("\n"));
- }}
15
+ $crate::dprint!($($arg)*);
16
+ $crate::dprint!("\n");
17
+ }};
18
}
19
20
/// Like `print!`, but prints to the PSP screen.
0 commit comments