aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7
diff options
context:
space:
mode:
authorAnton Lazarev <[email protected]>2025-03-28 15:54:47 -0700
committerAnton Lazarev <[email protected]>2025-03-31 12:47:41 -0700
commitdc31bfd8295c3626794e0b1b38804af2acc59053 (patch)
tree85a3290398cb513667d1cf5e59ee5f888cd9d6b5 /examples/stm32h7
parent0a231505d8225f3f36f39b0be1ded4304fb7ccca (diff)
refactor to reduce code duplication
Diffstat (limited to 'examples/stm32h7')
-rw-r--r--examples/stm32h7/src/bin/sdmmc.rs2
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