Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Astro
rust-card10
Commits
282393ae
Commit
282393ae
authored
Aug 24, 2019
by
Astro
⚙
Browse files
l0dable: make println emit \n
parent
6d34a1f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
l0dable/src/uart.rs
View file @
282393ae
...
...
@@ -20,7 +20,7 @@ macro_rules! print {
#[macro_export]
macro_rules!
println
{
()
=>
(
$crate
::
print!
(
"
\r
"
));
(
$
(
$arg:tt
)
*
)
=>
(
$crate
::
print!
(
"{}
\r
"
,
format_args!
(
$
(
$arg
)
*
)));
(
$
(
$arg:tt
)
*
)
=>
(
$crate
::
print!
(
"{}
\r
\n
"
,
format_args!
(
$
(
$arg
)
*
)));
}
#[doc(hidden)]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment