From e1701106880e2d7597342aac4138834bc77e89b9 Mon Sep 17 00:00:00 2001 From: Shaibal Ghosh Date: Mon, 3 Feb 2025 14:09:47 +0530 Subject: [PATCH] Fixed barrier instruction sequence --- src/flash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash.rs b/src/flash.rs index 6e69a36d..60f0626a 100644 --- a/src/flash.rs +++ b/src/flash.rs @@ -27,7 +27,7 @@ pub(crate) unsafe fn init() { }); // Clear instruction and data pipeline - cortex_m::asm::isb(); cortex_m::asm::dsb(); + cortex_m::asm::isb(); }) }