mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Handle CTRL+D/C/A just like MP boards.
This commit is contained in:
parent
f7c49cc01d
commit
7616e487f9
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user