kopia lustrzana https://github.com/micropython/micropython
stmhal: On soft reset, if in raw REPL mode, don't run main.py.
rodzic
0e49642965
commit
57ad7aa66b
|
@ -434,7 +434,7 @@ soft_reset:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// run main script
|
// run main script
|
||||||
if (reset_mode == 1) {
|
if (reset_mode == 1 && pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
|
||||||
vstr_t *vstr = vstr_new();
|
vstr_t *vstr = vstr_new();
|
||||||
vstr_add_str(vstr, "0:/");
|
vstr_add_str(vstr, "0:/");
|
||||||
if (pyb_config_source_dir == MP_OBJ_NULL) {
|
if (pyb_config_source_dir == MP_OBJ_NULL) {
|
||||||
|
|
Ładowanie…
Reference in New Issue