#include <rtthread.h>
#include <rtdevice.h>
#include <stdlib.h>
#define SD_DEVICE_NAME "sd0"
{
for (index = 0; index < buff_length; index++)
{
}
}
static int sd_sample(int argc, char *argv[])
{
char sd_name[RT_NAME_MAX];
if (argc == 2)
{
}
else
{
}
{
}
{
return ret;
}
{
rt_kprintf(
"control device %s failed!\n", sd_name);
return ret;
}
{
}
{
}
if (1 != block_num)
{
}
if (1 != block_num)
{
}
{
}
else
{
}
}