Skip to content
Snippets Groups Projects
Commit cfe7c401 authored by Wolfgang Reißnegger's avatar Wolfgang Reißnegger
Browse files

USBMSC: Always set LUN readonly flag.

parent f126cd9d
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