From f60827e59a3bdf1b376c1634995687becd5bf3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Fri, 4 Jun 2021 12:00:15 +0200 Subject: [PATCH] lockin: remove SPI error ISR Let them be handled by HardFault here. Keep them in dual-iir for debugging and show-casing their usage. --- src/bin/lockin.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/bin/lockin.rs b/src/bin/lockin.rs index 270c94a..b2447e5 100644 --- a/src/bin/lockin.rs +++ b/src/bin/lockin.rs @@ -307,26 +307,6 @@ const APP: () = { unsafe { hal::ethernet::interrupt_handler() } } - #[task(binds = SPI2, priority = 3)] - fn spi2(_: spi2::Context) { - panic!("ADC0 SPI error"); - } - - #[task(binds = SPI3, priority = 3)] - fn spi3(_: spi3::Context) { - panic!("ADC1 SPI error"); - } - - #[task(binds = SPI4, priority = 3)] - fn spi4(_: spi4::Context) { - panic!("DAC0 SPI error"); - } - - #[task(binds = SPI5, priority = 3)] - fn spi5(_: spi5::Context) { - panic!("DAC1 SPI error"); - } - extern "C" { // hw interrupt handlers for RTIC to use for scheduling tasks // one per priority