The disk_initialise does the first line "if (send_cmd(CMD0, 0) == 1) " result in a 1 and takes the if or does it fail at that point. If it never receives a 1 then in send_cmd what is res every time through the while loop at the end of the function. Paul
↧