nrf/main: Execute boot.py/main.py frozen modules without a file system.

When the file system is not enabled, the boot.py and main.py modules will
still be executed, if they are frozen.
pull/1/head
Andrej Krejcir 2019-12-03 23:01:26 +01:00 committed by Damien George
parent d61e7a6d8a
commit 210d053286
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ pin_init0();
led_state(1, 0);
#if MICROPY_VFS || MICROPY_MBFS
#if MICROPY_VFS || MICROPY_MBFS || MICROPY_MODULE_FROZEN
// run boot.py and main.py if they exist.
pyexec_file_if_exists("boot.py");
pyexec_file_if_exists("main.py");