parent
b9fa06cf6b
commit
4e786494dd
@ -140,8 +140,7 @@ Behavior
|
|||||||
- Autoreload is disabled while the REPL is active.
|
- Autoreload is disabled while the REPL is active.
|
||||||
- Main is one of these: ``code.txt``, ``code.py``, ``main.py``,
|
- Main is one of these: ``code.txt``, ``code.py``, ``main.py``,
|
||||||
``main.txt``
|
``main.txt``
|
||||||
- Boot is one of these: ``settings.txt``, ``settings.py``, ``boot.py``,
|
- Boot is one of these: ``boot.py``, ``boot.txt``
|
||||||
``boot.txt``
|
|
||||||
|
|
||||||
API
|
API
|
||||||
~~~
|
~~~
|
||||||
|
2
main.c
2
main.c
@ -631,7 +631,7 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
|
|||||||
&& safe_mode == NO_SAFE_MODE
|
&& safe_mode == NO_SAFE_MODE
|
||||||
&& MP_STATE_VM(vfs_mount_table) != NULL;
|
&& MP_STATE_VM(vfs_mount_table) != NULL;
|
||||||
|
|
||||||
static const char * const boot_py_filenames[] = STRING_LIST("settings.txt", "settings.py", "boot.py", "boot.txt");
|
static const char * const boot_py_filenames[] = STRING_LIST("boot.py", "boot.txt");
|
||||||
bool skip_boot_output = false;
|
bool skip_boot_output = false;
|
||||||
|
|
||||||
if (ok_to_run) {
|
if (ok_to_run) {
|
||||||
|
Loading…
Reference in New Issue
Block a user