Handle CTRL+D/C/A just like MP boards.

This commit is contained in:
iabdalkader 2017-02-23 15:20:14 +02:00
parent f7c49cc01d
commit 7616e487f9

View File

@ -504,7 +504,15 @@ soft_reset:
usbdbg_set_irq_enabled(true); usbdbg_set_irq_enabled(true);
// run REPL // run REPL
pyexec_friendly_repl(); if (pyexec_mode_kind == PYEXEC_MODE_RAW_REPL) {
if (pyexec_raw_repl() != 0) {
break;
}
} else {
if (pyexec_friendly_repl() != 0) {
break;
}
}
nlr_pop(); nlr_pop();
} }