Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Astro
rust-card10
Commits
5b7757dd
Commit
5b7757dd
authored
Feb 04, 2020
by
Arist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use message same as in panic-semihosting
parent
7bf8b8d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
card10-sys/src/lib.rs
card10-sys/src/lib.rs
+1
-1
No files found.
card10-sys/src/lib.rs
View file @
5b7757dd
...
@@ -25,7 +25,7 @@ impl Write for Uart {
...
@@ -25,7 +25,7 @@ impl Write for Uart {
#[panic_handler]
#[panic_handler]
fn
panic
(
info
:
&
PanicInfo
)
->
!
{
fn
panic
(
info
:
&
PanicInfo
)
->
!
{
write!
(
Uart
,
"panic"
)
.ok
();
write!
(
Uart
,
"panic
ked
"
)
.ok
();
if
let
Some
(
message
)
=
info
.message
()
{
if
let
Some
(
message
)
=
info
.message
()
{
write!
(
Uart
,
" at '{}'"
,
message
)
.ok
();
write!
(
Uart
,
" at '{}'"
,
message
)
.ok
();
...
...
Write
Preview
Markdown
is supported
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