aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchemicstry <[email protected]>2022-12-06 23:31:58 +0200
committerchemicstry <[email protected]>2022-12-06 23:31:58 +0200
commit7bda01ec240339f8b26d78910c64ad63a2bfc726 (patch)
tree0cccbac17c3415817de0c3dada126249fd997b76
parentef2b83cc032cd39841f0219144b95259dc5cac79 (diff)
Fix comment
-rw-r--r--embassy-stm32/src/sdmmc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/sdmmc/mod.rs b/embassy-stm32/src/sdmmc/mod.rs
index 0f8483d5b..a52c65b92 100644
--- a/embassy-stm32/src/sdmmc/mod.rs
+++ b/embassy-stm32/src/sdmmc/mod.rs
@@ -601,7 +601,7 @@ impl SdmmcInner {
601 // NOTE(unsafe) We have exclusive access to the peripheral 601 // NOTE(unsafe) We have exclusive access to the peripheral
602 unsafe { 602 unsafe {
603 // While the SD/SDIO card or eMMC is in identification mode, 603 // While the SD/SDIO card or eMMC is in identification mode,
604 // the SDMMC_CK frequency must be less than 400 kHz. 604 // the SDMMC_CK frequency must be no more than 400 kHz.
605 let (clkdiv, init_clock) = unwrap!(clk_div(ker_ck, SD_INIT_FREQ.0)); 605 let (clkdiv, init_clock) = unwrap!(clk_div(ker_ck, SD_INIT_FREQ.0));
606 *clock = init_clock; 606 *clock = init_clock;
607 607