diff options
Diffstat (limited to 'examples/stm32h742')
| -rw-r--r-- | examples/stm32h742/src/bin/qspi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32h742/src/bin/qspi.rs b/examples/stm32h742/src/bin/qspi.rs index aee07f3f2..50e37ec52 100644 --- a/examples/stm32h742/src/bin/qspi.rs +++ b/examples/stm32h742/src/bin/qspi.rs | |||
| @@ -272,6 +272,7 @@ async fn main(_spawner: Spawner) -> ! { | |||
| 272 | prescaler: 16, | 272 | prescaler: 16, |
| 273 | cs_high_time: ChipSelectHighTime::_1Cycle, | 273 | cs_high_time: ChipSelectHighTime::_1Cycle, |
| 274 | fifo_threshold: FIFOThresholdLevel::_16Bytes, | 274 | fifo_threshold: FIFOThresholdLevel::_16Bytes, |
| 275 | sample_shifting: SampleShifting::None, | ||
| 275 | }; | 276 | }; |
| 276 | let driver = Qspi::new_blocking_bank1(p.QUADSPI, p.PD11, p.PD12, p.PE2, p.PD13, p.PB2, p.PB10, config); | 277 | let driver = Qspi::new_blocking_bank1(p.QUADSPI, p.PD11, p.PD12, p.PE2, p.PD13, p.PB2, p.PB10, config); |
| 277 | let mut flash = FlashMemory::new(driver); | 278 | let mut flash = FlashMemory::new(driver); |
