Fixed bug 3570035.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4720 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-09-29 07:59:34 +00:00
parent 4b2c225c04
commit b6ed629724
2 changed files with 5 additions and 3 deletions

View File

@ -402,6 +402,7 @@ void mmcStop(MMCDriver *mmcp) {
bool_t mmcConnect(MMCDriver *mmcp) {
unsigned i;
bool_t result;
uint8_t r3[4];
chDbgCheck(mmcp != NULL, "mmcConnect");
@ -430,10 +431,9 @@ bool_t mmcConnect(MMCDriver *mmcp) {
* by ElmChan.
*
* */
uint8_t r3[4];
if(send_command_R3(mmcp, MMC_CMDINTERFACE_CONDITION, 0x01AA, r3) != 0x05) {
/* Switch to SDHC mode */
/* Switch to SDHC mode.*/
i = 0;
while (TRUE) {
if ((send_command_R1(mmcp, MMC_CMDAPP, 0) == 0x01) &&

View File

@ -79,6 +79,8 @@
*****************************************************************************
*** 2.4.3 ***
- FIX: Fixed mmc_spi.c won't compile due to misplaced declaration (bug
3570035).
- FIX: Fixed GPIO glitch during PAL initialization (bug 3569347).
- FIX: Fixed STM32F1x rtc_lld_init glitches rtc on hard reset (bug 3567597).
- FIX: Fixed STM8L, cosmic compiler: c_lreg not saved (bug 3566342).