mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-13 04:33:18 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user