diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-26 16:53:25 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-30 18:29:20 -0700 |
| commit | 4aeef100f6d78313e1cc58fb6ef6d6b0da5c879d (patch) | |
| tree | 65289dee99b86f0fb7fd8ed25ebac6beee4e1e2a /supervisor | |
| parent | 189366983366cf5cad214d15070a0a53ccce24a8 (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 'supervisor')
| -rw-r--r-- | supervisor/filesystem.h | 2 | ||||
| -rw-r--r-- | supervisor/stub/filesystem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/supervisor/filesystem.h b/supervisor/filesystem.h index fd2bf0364..cfd1ed027 100644 --- a/supervisor/filesystem.h +++ b/supervisor/filesystem.h @@ -31,7 +31,7 @@ void filesystem_init(bool create_allowed); void filesystem_flush(void); -void filesystem_default_writeable(bool writeable); +void filesystem_writable_by_python(bool writable); bool filesystem_present(void); #endif // MICROPY_INCLUDED_SUPERVISOR_FILESYSTEM_H diff --git a/supervisor/stub/filesystem.c b/supervisor/stub/filesystem.c index 462ee62a4..12fe9fb10 100644 --- a/supervisor/stub/filesystem.c +++ b/supervisor/stub/filesystem.c @@ -32,7 +32,7 @@ void filesystem_init(void) { void filesystem_flush(void) { } -void filesystem_default_writeable(bool writeable) { +void filesystem_writable_by_python(bool writable) { } bool filesystem_present(void) { |
