py/builtinhelp: Only print help re FS modules if external import enabled
This commit is contained in:
parent
8fea833e3f
commit
ec31438c54
|
@ -123,8 +123,10 @@ STATIC void mp_help_print_modules(void) {
|
||||||
mp_print_str(MP_PYTHON_PRINTER, "\n");
|
mp_print_str(MP_PYTHON_PRINTER, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if MICROPY_ENABLE_EXTERNAL_IMPORT
|
||||||
// let the user know there may be other modules available from the filesystem
|
// let the user know there may be other modules available from the filesystem
|
||||||
mp_print_str(MP_PYTHON_PRINTER, "Plus any modules on the filesystem\n");
|
mp_print_str(MP_PYTHON_PRINTER, "Plus any modules on the filesystem\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue