summaryrefslogtreecommitdiff
path: root/shared-module/os
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-13 22:51:10 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-13 22:51:10 -0400
commite2e01efa84d2ed46d004edf48076e4701accc176 (patch)
tree8c877ce226b6404b117990db92c9cfc93950df60 /shared-module/os
parent0d27f4d9a66dcb47b545e715d1833094b0c7b484 (diff)
compiles and runs; hangs on import storage;storage.VfsFat.<tab>
Diffstat (limited to 'shared-module/os')
-rw-r--r--shared-module/os/__init__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/os/__init__.c b/shared-module/os/__init__.c
index 1dadd254a..67d489f37 100644
--- a/shared-module/os/__init__.c
+++ b/shared-module/os/__init__.c
@@ -77,7 +77,7 @@ void common_hal_os_chdir(const char* path) {
// subsequent relative paths begin at the root of that VFS.
for (vfs = MP_STATE_VM(vfs_mount_table); vfs != NULL; vfs = vfs->next) {
if (vfs->len == 1) {
- mp_obj_t root = mp_obj_new_str("/", 1, false);
+ mp_obj_t root = mp_obj_new_str("/", 1);
mp_vfs_proxy_call(vfs, MP_QSTR_chdir, 1, &root);
break;
}