We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ab16b7 + 4df083a commit bed724fCopy full SHA for bed724f
main.c
@@ -838,7 +838,7 @@ int __attribute__((used)) main(void) {
838
// By default our internal flash is readonly to local python code and
839
// writable over USB. Set it here so that boot.py can change it.
840
filesystem_set_internal_concurrent_write_protection(true);
841
- filesystem_set_internal_writable_by_usb(true);
+ filesystem_set_internal_writable_by_usb(CIRCUITPY_USB == 1);
842
843
run_boot_py(safe_mode);
844
0 commit comments