Skip to content
Snippets Groups Projects
Commit 2c573f00 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/builtinimport: Unbreak bare-arm build.

parent 8a2970e1
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,11 @@ STATIC void do_load(mp_obj_t module_obj, vstr_t *file) { ...@@ -209,7 +209,11 @@ STATIC void do_load(mp_obj_t module_obj, vstr_t *file) {
#if MICROPY_ENABLE_COMPILER #if MICROPY_ENABLE_COMPILER
{ {
void *modref; void *modref;
#if MICROPY_MODULE_FROZEN
int frozen_type = mp_find_frozen_module(file_str, file->len, &modref); int frozen_type = mp_find_frozen_module(file_str, file->len, &modref);
#else
int frozen_type = MP_FROZEN_NONE;
#endif
#if MICROPY_PERSISTENT_CODE_LOAD || MICROPY_MODULE_FROZEN_MPY #if MICROPY_PERSISTENT_CODE_LOAD || MICROPY_MODULE_FROZEN_MPY
if (frozen_type == MP_FROZEN_MPY) { if (frozen_type == MP_FROZEN_MPY) {
do_execute_raw_code(module_obj, modref); do_execute_raw_code(module_obj, modref);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment