提交 008bc108 编写于 作者: qiuyiuestc's avatar qiuyiuestc

remove warning message when no sdcard insert

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@743 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 8b8dba66
...@@ -74,9 +74,10 @@ static int sd_cmd_end(int cmd, int be_resp) ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册