fix missing code is caused by auto merge
Add vTaskDelay.Let sd card can read correctly.

Instead of using 'while(SDstatus == SD_READY)', I use 'if' & 'else if' to let code not will die in the shell.
Merge pull request #52 from zxc2694/master

fix undefined errors