From b50d04336ee3608e36545908cbf45969e81c9807 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 25 May 2023 22:32:57 +0200 Subject: [PATCH] Fix merge error --- embassy-stm32/src/flash/common.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/embassy-stm32/src/flash/common.rs b/embassy-stm32/src/flash/common.rs index 35f5a464..400831e0 100644 --- a/embassy-stm32/src/flash/common.rs +++ b/embassy-stm32/src/flash/common.rs @@ -83,15 +83,6 @@ impl interrupt::Handler for InterruptHandler { } } -/// Interrupt handler -pub struct InterruptHandler; - -impl interrupt::Handler for InterruptHandler { - unsafe fn on_interrupt() { - family::on_interrupt(); - } -} - pub(super) fn blocking_read(base: u32, size: u32, offset: u32, bytes: &mut [u8]) -> Result<(), Error> { if offset + bytes.len() as u32 > size { return Err(Error::Size);