fix rt_device_blk_geometry compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@796 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
731711f74f
commit
ae53558a6b
|
@ -647,6 +647,13 @@ struct rt_device
|
||||||
void* private;
|
void* private;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct rt_device_blk_geometry
|
||||||
|
{
|
||||||
|
rt_uint32_t sector_count; /* count of sectors */
|
||||||
|
rt_uint32_t bytes_per_sector; /* number of bytes per sector */
|
||||||
|
rt_uint32_t block_size; /* size to erase one block */
|
||||||
|
};
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue