mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
drivers/mtd/filemtd.c: fix build error
This commit is contained in:
parent
517974787f
commit
d666aa623f
1 changed files with 2 additions and 2 deletions
|
@ -506,9 +506,9 @@ FAR struct mtd_dev_s *blockmtd_initialize(FAR const char *path,
|
|||
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
|
||||
* driver proxy.
|
||||
|
|
Loading…
Reference in a new issue