8000 atmel-samd: Update sys.path to match that the internal/onboard · marcnewlin/circuitpython@5ddbf26 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ddbf26

Browse files
committed
atmel-samd: Update sys.path to match that the internal/onboard
flash is now at / rather than /flash.
1 parent c797f3c commit 5ddbf26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atmel-samd/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ void reset_mp(void) {
136136
mp_init();
137137
mp_obj_list_init(mp_sys_path, 0);
138138
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR_)); // current dir (or base dir of the script)
139-
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash));
140-
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_flash_slash_lib));
139+
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash));
140+
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_lib));
141141
mp_obj_list_init(mp_sys_argv, 0);
142142
}
143143

0 commit comments

Comments
 (0)
0