Skip to content

Commit 1e16e81

Browse files
committed
atmel-samd: Update sys.path with correct root path.
1 parent 05f0681 commit 1e16e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atmel-samd/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ 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));
139+
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_));
140140
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
}

0 commit comments

Comments
 (0)