Changeset 2f16001 in rtems


Ignore:
Timestamp:
Jan 23, 2015, 10:24:01 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f63e9a3
Parents:
2486c492
Message:

libchip: Fix high capacity detection for MMC

Close #2239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/i2c/spi-sd-card.c

    r2486c492 r2f16001  
    918918
    919919                        /* Check HCS bit of the OCR */
    920                         high_capacity = (reg & 0x600000) == SD_CARD_FLAG_HCS;
     920                        high_capacity = (reg & 0x6000000) == SD_CARD_FLAG_HCS;
    921921                }
    922922        }
Note: See TracChangeset for help on using the changeset viewer.