diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c index 3a5958ec8..fbdb92c03 100644 --- a/os/hal/src/mmc_spi.c +++ b/os/hal/src/mmc_spi.c @@ -448,6 +448,7 @@ bool_t mmcConnect(MMCDriver *mmcp) { /* Connection procedure in progress.*/ mmcp->state = BLK_CONNECTING; + mmcp->block_addresses = FALSE; /* Slow clock mode and 128 clock pulses.*/ spiStart(mmcp->config->spip, mmcp->config->lscfg); diff --git a/readme.txt b/readme.txt index e6ebde01a..448031888 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,8 @@ ***************************************************************************** *** 2.7.0 *** +- FIX: Fixed MMC_SPI driver block_addresses is not initialized after + reconnection (bug #485)(backported to 2.6.4). - FIX: Fixed STM32L1 Plus Compilation Problems (bug #484)(backported to 2.6.4). - FIX: Fixed OTG HS failure when WFI instruction is enabled (bug #482) (backported to 2.6.4).