@@ -160,9 +160,9 @@ static struct sd_mmc_card sd_mmc_cards[CONF_SD_MMC_MEM_CNT];
160160
161161/** HAL driver instance */
162162static void * sd_mmc_hal ;
163- /** Index of current slot configurated */
163+ /** Index of current slot configured */
164164static uint8_t sd_mmc_slot_sel ;
165- /** Pointer on current slot configurated */
165+ /** Pointer on current slot configured */
166166static struct sd_mmc_card * sd_mmc_card ;
167167/** Number of block to read or write on the current transfer */
168168static uint16_t sd_mmc_nb_block_to_tranfer = 0 ;
@@ -238,7 +238,7 @@ static bool mmc_mci_op_cond(void) {
238238 uint32_t retry , resp ;
239239
240240 /*
241- * Timeout 1s = 400KHz / ((6+6)*8) cylces = 4200 retry
241+ * Timeout 1s = 400KHz / ((6+6)*8) cycles = 4200 retry
242242 * 6 = cmd byte size
243243 * 6 = response byte size
244244 */
@@ -277,7 +277,7 @@ static bool sd_mci_op_cond(uint8_t v2) {
277277 uint32_t arg , retry , resp ;
278278
279279 /*
280- * Timeout 1s = 400KHz / ((6+6+6+6)*8) cylces = 2100 retry
280+ * Timeout 1s = 400KHz / ((6+6+6+6)*8) cycles = 2100 retry
281281 * 6 = cmd byte size
282282 * 6 = response byte size
283283 * 6 = cmd byte size
@@ -339,7 +339,7 @@ static bool sdio_op_cond(void) {
339339
340340 /*
341341 * Wait card ready
342- * Timeout 1s = 400KHz / ((6+4)*8) cylces = 5000 retry
342+ * Timeout 1s = 400KHz / ((6+4)*8) cycles = 5000 retry
343343 * 6 = cmd byte size
344344 * 4(SPI) 6(MCI) = response byte size
345345 */
@@ -1292,13 +1292,13 @@ static bool sd_mmc_mci_install_mmc(void) {
12921292
12931293void sd_mmc_init (void * hal , sd_mmc_detect_t * card_detects , sd_mmc_detect_t * wp_detects ) {
12941294 /* GPIO will be used to detect card and write protect.
1295- * The related clocks and pinmux must be configurated in good
1295+ * The related clocks and pinmux must be configured in good
12961296 * condition. */
12971297
12981298 for (uint8_t slot = 0 ; slot < CONF_SD_MMC_MEM_CNT ; slot ++ ) {
12991299 sd_mmc_cards [slot ].state = SD_MMC_CARD_STATE_NO_CARD ;
13001300 }
1301- sd_mmc_slot_sel = 0xFF ; /* No slot configurated */
1301+ sd_mmc_slot_sel = 0xFF ; /* No slot configured */
13021302 sd_mmc_hal = hal ;
13031303 _cd = card_detects ;
13041304 _wp = wp_detects ;
0 commit comments