diff options
| author | Anton Lazarev <[email protected]> | 2025-03-28 15:54:47 -0700 |
|---|---|---|
| committer | Anton Lazarev <[email protected]> | 2025-03-31 12:47:41 -0700 |
| commit | dc31bfd8295c3626794e0b1b38804af2acc59053 (patch) | |
| tree | 85a3290398cb513667d1cf5e59ee5f888cd9d6b5 /examples/stm32h7 | |
| parent | 0a231505d8225f3f36f39b0be1ded4304fb7ccca (diff) | |
refactor to reduce code duplication
Diffstat (limited to 'examples/stm32h7')
| -rw-r--r-- | examples/stm32h7/src/bin/sdmmc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/sdmmc.rs b/examples/stm32h7/src/bin/sdmmc.rs index abe2d4ba7..96840d8ff 100644 --- a/examples/stm32h7/src/bin/sdmmc.rs +++ b/examples/stm32h7/src/bin/sdmmc.rs | |||
| @@ -53,7 +53,7 @@ async fn main(_spawner: Spawner) -> ! { | |||
| 53 | // Should print 400kHz for initialization | 53 | // Should print 400kHz for initialization |
| 54 | info!("Configured clock: {}", sdmmc.clock().0); | 54 | info!("Configured clock: {}", sdmmc.clock().0); |
| 55 | 55 | ||
| 56 | unwrap!(sdmmc.init_card(mhz(25)).await); | 56 | unwrap!(sdmmc.init_sd_card(mhz(25)).await); |
| 57 | 57 | ||
| 58 | let card = unwrap!(sdmmc.card()); | 58 | let card = unwrap!(sdmmc.card()); |
| 59 | 59 | ||
