From e2e01efa84d2ed46d004edf48076e4701accc176 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 13 Jul 2018 22:51:10 -0400 Subject: compiles and runs; hangs on import storage;storage.VfsFat. --- shared-module/os/__init__.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-module/os/__init__.c') 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; } -- cgit v1.2.3