From 3568e4a5ffb1aebb97dd58975b02a00cd0a116fe Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Fri, 15 Dec 2023 16:47:56 -0800 Subject: [PATCH] STM32 QSPI: Fix flash selection. --- embassy-stm32/src/qspi/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/qspi/mod.rs b/embassy-stm32/src/qspi/mod.rs index 4b0e8ece..1153455c 100644 --- a/embassy-stm32/src/qspi/mod.rs +++ b/embassy-stm32/src/qspi/mod.rs @@ -119,7 +119,7 @@ impl<'d, T: Instance, Dma> Qspi<'d, T, Dma> { Some(nss.map_into()), dma, config, - FlashSelection::Flash2, + FlashSelection::Flash1, ) }