From 4aeef100f6d78313e1cc58fb6ef6d6b0da5c879d Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 26 Oct 2017 16:53:25 -0700 Subject: 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 --- extmod/vfs_fat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extmod/vfs_fat.h') 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; -- cgit v1.2.3