mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
cleanup some debug
This commit is contained in:
parent
f9e99a4ff3
commit
2a92932850
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ pub extern "C" fn trap_handler(
|
||||||
_a7: usize,
|
_a7: usize,
|
||||||
) -> ! {
|
) -> ! {
|
||||||
let mc: mcause::Mcause = mcause::read();
|
let mc: mcause::Mcause = mcause::read();
|
||||||
crate::println!("it's a trap! 0x{:x}", mc.bits());
|
// crate::println!("it's a trap! 0x{:x}", mc.bits());
|
||||||
// 2 is illegal instruction
|
// 2 is illegal instruction
|
||||||
if mc.bits() == 2 {
|
if mc.bits() == 2 {
|
||||||
crate::abort();
|
crate::abort();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue