diff options
author | Andrej Krejcir <akrejcir@gmail.com> | 2019-12-03 23:01:26 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-12-05 23:11:12 +1100 |
commit | 210d05328664ebd2f106d9a3569c5e5e1b4b79ed (patch) | |
tree | 9adbbb426289f16a0d51887068a25058f870b8f4 | |
parent | d61e7a6d8a146f0dd528ebc398c576d69a78f41c (diff) |
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.
-rw-r--r-- | ports/nrf/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/main.c b/ports/nrf/main.c index f7d42060e..9ffe7a285 100644 --- a/ports/nrf/main.c +++ b/ports/nrf/main.c @@ -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"); |