Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
4f29b315
Commit
4f29b315
authored
Mar 06, 2017
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp8266: Only execute main.py if in friendly REPL mode.
parent
e1782042
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
esp8266/main.c
esp8266/main.c
+3
-1
No files found.
esp8266/main.c
View file @
4f29b315
...
...
@@ -65,7 +65,9 @@ STATIC void mp_reset(void) {
#if MICROPY_MODULE_FROZEN
pyexec_frozen_module
(
"_boot.py"
);
pyexec_file
(
"boot.py"
);
pyexec_file
(
"main.py"
);
if
(
pyexec_mode_kind
==
PYEXEC_MODE_FRIENDLY_REPL
)
{
pyexec_file
(
"main.py"
);
}
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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