diff options
| author | qiuyiuestc <[email protected]> | 2010-05-29 14:21:56 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-05-29 14:21:56 +0000 |
| commit | 008bc108b057e86391d30c76d4acadd4b725abe0 (patch) | |
| tree | eccf4ef4f230370c5c85d9e46be3702363c397f1 | |
| parent | 8b8dba661f5e29e1592cc9df92ef219099809330 (diff) | |
remove warning message when no sdcard insert
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@743 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | bsp/mini2440/sdcard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bsp/mini2440/sdcard.c b/bsp/mini2440/sdcard.c index 764d96d97b..7bd9cbc8c6 100644 --- a/bsp/mini2440/sdcard.c +++ b/bsp/mini2440/sdcard.c @@ -74,9 +74,10 @@ static int sd_cmd_end(int cmd, int be_resp) {
if( (finish0&0x1f00) != 0xa00 )
{
+ /*
rt_kprintf("CMD%d:SDICSTA=0x%x, SDIRSP0=0x%x\n",
cmd, SDICSTA, SDIRSP0);
-
+ */
SDICSTA=finish0;
if(((finish0&0x400)==0x400))
return RT_ERROR;
@@ -140,7 +141,7 @@ static int sd_cmd55(void) if(sd_cmd_end(55, 1) == RT_ERROR)
{
- rt_kprintf("CMD55 error\n");
+ /* rt_kprintf("CMD55 error\n"); */
return RT_ERROR;
}
|
