mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
Fixed minor bug in SD driver that only failed with emulator.
This commit is contained in:
parent
7e6e64a140
commit
22ec6e88ca
1 changed files with 1 additions and 1 deletions
|
@ -940,7 +940,7 @@ if(!SDSendACmdLongResp(card->Rca,51,card->Rca,(int *)CSD)) { halFlags&=~HAL_NOCL
|
|||
return FALSE; }
|
||||
|
||||
card->BusWidth=0;
|
||||
if( (CSD[1]&0xf0000) == 0xf0000) {
|
||||
if( (CSD[1]&0x40000) ) {
|
||||
// ENABLE WIDE BUS SUPPORT
|
||||
if(!SDSendACmdShortResp(card->Rca,6,2,(int *)CSD)) { halFlags&=~HAL_NOCLOCKCHANGE;
|
||||
return FALSE; }
|
||||
|
|
Loading…
Reference in a new issue