nrf5: Initialize repl_display_debugging_info in pyexec.c for cortex-m0 targets.

This commit is contained in:
Glenn Ruben Bakke 2017-03-03 00:40:44 +01:00
parent 159202ad00
commit c300e3f196
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ int main(int argc, char **argv) {
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);
pyb_set_repl_info(MP_OBJ_NEW_SMALL_INT(0));
readline_init0();
pin_init0();