mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
BlockToCharDev: increase sectorsize to 32 bit
This commit is contained in:
committed by
Gregory Nutt
parent
c7e7bda830
commit
611fb04449
+1
-1
Submodule arch updated: 0147de5a24...9a31f264ec
+2
-2
@@ -62,10 +62,10 @@
|
||||
struct bchlib_s
|
||||
{
|
||||
FAR struct inode *inode; /* I-node of the block driver */
|
||||
sem_t sem; /* For atomic accesses to this structure */
|
||||
uint32_t sectsize; /* The size of one sector on the device */
|
||||
size_t nsectors; /* Number of sectors supported by the device */
|
||||
size_t sector; /* The current sector in the buffer */
|
||||
uint16_t sectsize; /* The size of one sector on the device */
|
||||
sem_t sem; /* For atomic accesses to this structure */
|
||||
uint8_t refs; /* Number of references */
|
||||
bool dirty; /* true: Data has been written to the buffer */
|
||||
bool readonly; /* true: Only read operations are supported */
|
||||
|
||||
Reference in New Issue
Block a user