diff options
| author | chemicstry <[email protected]> | 2022-03-16 23:55:07 +0200 |
|---|---|---|
| committer | chemicstry <[email protected]> | 2022-03-16 23:55:07 +0200 |
| commit | 9d71acc49e54a8c1c177470ca1de54b492ea2231 (patch) | |
| tree | e88338723c6174fc4155c5023361e90a45dd915d /examples | |
| parent | 224071f08e6ea82ddbcc111fc6359d7403480771 (diff) | |
Cleanup
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/sdmmc.rs | 3 | ||||
| -rw-r--r-- | examples/stm32f7/src/bin/sdmmc.rs | 3 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/sdmmc.rs | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/examples/stm32f4/src/bin/sdmmc.rs b/examples/stm32f4/src/bin/sdmmc.rs index 301d7dda0..2ef367397 100644 --- a/examples/stm32f4/src/bin/sdmmc.rs +++ b/examples/stm32f4/src/bin/sdmmc.rs | |||
| @@ -31,7 +31,8 @@ async fn main(_spawner: Spawner, p: Peripherals) -> ! { | |||
| 31 | p.DMA2_CH3, | 31 | p.DMA2_CH3, |
| 32 | ); | 32 | ); |
| 33 | 33 | ||
| 34 | info!("Configured clock: {}", sdmmc.clock.0); | 34 | // Should print 400kHz for initialization |
| 35 | info!("Configured clock: {}", sdmmc.clock().0); | ||
| 35 | 36 | ||
| 36 | unwrap!(sdmmc.init_card(25.mhz()).await); | 37 | unwrap!(sdmmc.init_card(25.mhz()).await); |
| 37 | 38 | ||
diff --git a/examples/stm32f7/src/bin/sdmmc.rs b/examples/stm32f7/src/bin/sdmmc.rs index f8550d23c..cd6a0d1f1 100644 --- a/examples/stm32f7/src/bin/sdmmc.rs +++ b/examples/stm32f7/src/bin/sdmmc.rs | |||
| @@ -31,7 +31,8 @@ async fn main(_spawner: Spawner, p: Peripherals) -> ! { | |||
| 31 | p.DMA2_CH3 | 31 | p.DMA2_CH3 |
| 32 | ); | 32 | ); |
| 33 | 33 | ||
| 34 | info!("Configured clock: {}", sdmmc.clock.0); | 34 | // Should print 400kHz for initialization |
| 35 | info!("Configured clock: {}", sdmmc.clock().0); | ||
| 35 | 36 | ||
| 36 | unwrap!(sdmmc.init_card(25.mhz()).await); | 37 | unwrap!(sdmmc.init_card(25.mhz()).await); |
| 37 | 38 | ||
diff --git a/examples/stm32h7/src/bin/sdmmc.rs b/examples/stm32h7/src/bin/sdmmc.rs index 255c5568f..19c4deed1 100644 --- a/examples/stm32h7/src/bin/sdmmc.rs +++ b/examples/stm32h7/src/bin/sdmmc.rs | |||
| @@ -30,7 +30,8 @@ async fn main(_spawner: Spawner, p: Peripherals) -> ! { | |||
| 30 | Default::default(), | 30 | Default::default(), |
| 31 | ); | 31 | ); |
| 32 | 32 | ||
| 33 | info!("Configured clock: {}", sdmmc.clock.0); | 33 | // Should print 400kHz for initialization |
| 34 | info!("Configured clock: {}", sdmmc.clock().0); | ||
| 34 | 35 | ||
| 35 | unwrap!(sdmmc.init_card(25.mhz()).await); | 36 | unwrap!(sdmmc.init_card(25.mhz()).await); |
| 36 | 37 | ||
