summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-10-26 16:53:25 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-10-30 18:29:20 -0700
commit4aeef100f6d78313e1cc58fb6ef6d6b0da5c879d (patch)
tree65289dee99b86f0fb7fd8ed25ebac6beee4e1e2a /extmod/vfs_fat.h
parent189366983366cf5cad214d15070a0a53ccce24a8 (diff)
atmel-samd: More USB polish
* Introduce a python script to generate the USB descriptor instead of a bunch of C macros. In the future, we can use this dynamically in CircuitPython. * Add support for detecting read-only mass storage mounts. Fixes #377
Diffstat (limited to 'extmod/vfs_fat.h')
-rw-r--r--extmod/vfs_fat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/vfs_fat.h b/extmod/vfs_fat.h
index 5de1a237b..273ddc84e 100644
--- a/extmod/vfs_fat.h
+++ b/extmod/vfs_fat.h
@@ -35,8 +35,8 @@
#define FSUSER_NATIVE (0x0001) // readblocks[2]/writeblocks[2] contain native func
#define FSUSER_FREE_OBJ (0x0002) // fs_user_mount_t obj should be freed on umount
#define FSUSER_HAVE_IOCTL (0x0004) // new protocol with ioctl
-// Device is write-able over USB and read-only to MicroPython.
-#define FSUSER_USB_WRITEABLE (0x0008)
+// Device is writable over USB and read-only to MicroPython.
+#define FSUSER_USB_WRITABLE (0x0008)
typedef struct _fs_user_mount_t {
mp_obj_base_t base;