remove warning message when no sdcard insert
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@743 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
8b8dba661f
commit
008bc108b0
|
@ -74,9 +74,10 @@ static int sd_cmd_end(int cmd, int be_resp)
|
||||||
{
|
{
|
||||||
if( (finish0&0x1f00) != 0xa00 )
|
if( (finish0&0x1f00) != 0xa00 )
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
rt_kprintf("CMD%d:SDICSTA=0x%x, SDIRSP0=0x%x\n",
|
rt_kprintf("CMD%d:SDICSTA=0x%x, SDIRSP0=0x%x\n",
|
||||||
cmd, SDICSTA, SDIRSP0);
|
cmd, SDICSTA, SDIRSP0);
|
||||||
|
*/
|
||||||
SDICSTA=finish0;
|
SDICSTA=finish0;
|
||||||
if(((finish0&0x400)==0x400))
|
if(((finish0&0x400)==0x400))
|
||||||
return RT_ERROR;
|
return RT_ERROR;
|
||||||
|
@ -140,7 +141,7 @@ static int sd_cmd55(void)
|
||||||
|
|
||||||
if(sd_cmd_end(55, 1) == RT_ERROR)
|
if(sd_cmd_end(55, 1) == RT_ERROR)
|
||||||
{
|
{
|
||||||
rt_kprintf("CMD55 error\n");
|
/* rt_kprintf("CMD55 error\n"); */
|
||||||
return RT_ERROR;
|
return RT_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue