summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-06-28 12:52:29 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-06-28 12:52:29 -0700
commit5ddbf26b62af230004219ec021c9e8ecd8abec26 (patch)
treee3669de88036674959fced345a0dc9fa1ef612b6
parentc797f3cb240e49f53b49c464caeacfea3e16d9e7 (diff)
atmel-samd: Update sys.path to match that the internal/onboard
flash is now at / rather than /flash.
-rw-r--r--atmel-samd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atmel-samd/main.c b/atmel-samd/main.c
index 1a0ee9dca..10a5e56cb 100644
--- a/atmel-samd/main.c
+++ b/atmel-samd/main.c
@@ -136,8 +136,8 @@ void reset_mp(void) {
mp_init();
mp_obj_list_init(mp_sys_path, 0);
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR_)); // current dir (or base dir of the script)
- mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash));
- mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash_slash_lib));
+ mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash));
+ mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_lib));
mp_obj_list_init(mp_sys_argv, 0);
}