Fix comment

This commit is contained in:
chemicstry 2022-12-06 23:31:58 +02:00
parent ef2b83cc03
commit 7bda01ec24

View File

@ -601,7 +601,7 @@ impl SdmmcInner {
// NOTE(unsafe) We have exclusive access to the peripheral // NOTE(unsafe) We have exclusive access to the peripheral
unsafe { unsafe {
// While the SD/SDIO card or eMMC is in identification mode, // While the SD/SDIO card or eMMC is in identification mode,
// the SDMMC_CK frequency must be less than 400 kHz. // the SDMMC_CK frequency must be no more than 400 kHz.
let (clkdiv, init_clock) = unwrap!(clk_div(ker_ck, SD_INIT_FREQ.0)); let (clkdiv, init_clock) = unwrap!(clk_div(ker_ck, SD_INIT_FREQ.0));
*clock = init_clock; *clock = init_clock;