mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
ports/nrf: Fix mp_init sys_path.
This commit is contained in:
parent
391f6a6c72
commit
bf0a057ae3
@ -148,13 +148,9 @@ soft_reset:
|
||||
gc_init(&_heap_start, &_heap_end);
|
||||
|
||||
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_init(mp_sys_argv, 0);
|
||||
|
||||
readline_init0();
|
||||
|
||||
|
||||
#if MICROPY_PY_MACHINE_HW_SPI
|
||||
spi_init0();
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user