Fix mp_frozen_names
This commit is contained in:
parent
2c795acf1e
commit
d14bb575cb
@ -77,6 +77,10 @@ STATIC void mp_help_add_from_names(mp_obj_t list, const char *name) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if MICROPY_MODULE_FROZEN
|
||||
extern const char mp_frozen_names[];
|
||||
#endif
|
||||
|
||||
STATIC void mp_help_print_modules(void) {
|
||||
mp_obj_t list = mp_obj_new_list(0, NULL);
|
||||
|
||||
@ -84,7 +88,6 @@ STATIC void mp_help_print_modules(void) {
|
||||
mp_help_add_from_map(list, &mp_builtin_extensible_module_map);
|
||||
|
||||
#if MICROPY_MODULE_FROZEN
|
||||
extern const char mp_frozen_names[];
|
||||
mp_help_add_from_names(list, mp_frozen_names);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user