From 420891ba54cf7e4e1d0335a4d8ebc6c802f76fb1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 12 Aug 2021 13:01:35 +0800 Subject: [PATCH] syntax --- artiq/firmware/runtime/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/main.rs b/artiq/firmware/runtime/main.rs index 0279395b1..95e0f12e9 100644 --- a/artiq/firmware/runtime/main.rs +++ b/artiq/firmware/runtime/main.rs @@ -262,7 +262,7 @@ pub extern fn exception(vect: u32, _regs: *const u32, pc: u32, ea: u32) { let vect = irq::Exception::try_from(vect).expect("unknown exception"); match vect { irq::Exception::Interrupt => - panic!("spurious irq {}", irq::pending_mask().trailing_zeros()) + panic!("spurious irq {}", irq::pending_mask().trailing_zeros()), _ => { fn hexdump(addr: u32) { let addr = (addr - addr % 4) as *const u32;