Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
57ad7aa6
Commit
57ad7aa6
authored
Apr 03, 2014
by
Damien George
Browse files
stmhal: On soft reset, if in raw REPL mode, don't run main.py.
parent
0e496429
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/main.c
View file @
57ad7aa6
...
...
@@ -434,7 +434,7 @@ soft_reset:
#endif
// run main script
if
(
reset_mode
==
1
)
{
if
(
reset_mode
==
1
&&
pyexec_mode_kind
==
PYEXEC_MODE_FRIENDLY_REPL
)
{
vstr_t
*
vstr
=
vstr_new
();
vstr_add_str
(
vstr
,
"0:/"
);
if
(
pyb_config_source_dir
==
MP_OBJ_NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment