Subversion Repositories pentevo

Rev

Rev 1161 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1161 Rev 1162
Line 251... Line 251...
251
{
251
{
252
//    printf(__FUNCTION__" cmd=0x%X, St=0x%X\n", Cmd, CurrState);
252
//    printf(__FUNCTION__" cmd=0x%X, St=0x%X\n", Cmd, CurrState);
253
    if (!Image)
253
    if (!Image)
254
        return 0xFF;
254
        return 0xFF;
255
 
255
 
256
        if(a)
256
//      if(a)
257
        {
257
//      {
258
                printf("SDCARD: %s, cpu=%p\n", ifname, &cpu);
258
//              printf("SDCARD: %s, cpu=%p\n", ifname, &cpu);
259
                a=0;
259
//              a=0;
260
        }
260
//      }
261
 
261
 
262
    switch(Cmd)
262
    switch(Cmd)
263
    {
263
    {
264
    case CMD_GO_IDLE_STATE:
264
    case CMD_GO_IDLE_STATE:
265
        if (CurrState == ST_R1)
265
        if (CurrState == ST_R1)