fix the line break in dfs_elm.c(there are some windows line break characters)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-11-14 16:08:00 +00:00
parent 583bb26fb2
commit d5eb16dda2
1 changed files with 2 additions and 4 deletions

View File

@ -780,11 +780,9 @@ DRESULT disk_ioctl(BYTE drv, BYTE ctrl, void *buff)
rt_device_control(device, RT_DEVICE_CTRL_BLK_GETGEOME, &geometry);
*(DWORD *)buff = geometry.block_size/geometry.bytes_per_sector;
}
else if (ctrl == CTRL_SYNC)
{
rt_device_control(device, RT_DEVICE_CTRL_BLK_SYNC, RT_NULL);
}
else if (ctrl == CTRL_SYNC)
rt_device_control(device, RT_DEVICE_CTRL_BLK_SYNC, RT_NULL);
return RES_OK;
}