mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
drivers/mtd/filemtd.c: fix build error
This commit is contained in:
committed by
hartmannathan
parent
517974787f
commit
d666aa623f
@@ -506,9 +506,9 @@ FAR struct mtd_dev_s *blockmtd_initialize(FAR const char *path,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Determine the file open mode */
|
/* Set the file open mode. */
|
||||||
|
|
||||||
mode = O_RDOK |= O_WROK;
|
mode = O_RDOK | O_WROK;
|
||||||
|
|
||||||
/* Try to open the file. NOTE that block devices will use a character
|
/* Try to open the file. NOTE that block devices will use a character
|
||||||
* driver proxy.
|
* driver proxy.
|
||||||
|
|||||||
Reference in New Issue
Block a user