Skip to content
Snippets Groups Projects
Commit c225e12a authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Merged in gnagflow/nuttx (pull request #205)

USBMSC: Always set LUN readonly flag.

Approved-by: Gregory Nutt
parents f126cd9d cfe7c401
No related branches found
No related tags found
No related merge requests found
......@@ -1529,6 +1529,7 @@ int usbmsc_bindlun(FAR void *handle, FAR const char *drvrpath,
lun->startsector = startsector;
lun->nsectors = nsectors;
lun->sectorsize = geo.geo_sectorsize;
lun->readonly = readonly;
/* If the driver does not support the write method, then this is read-only */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment