py/builtinhelp: Only print help re FS modules if external import enabled

This commit is contained in:
Yonatan Goldschmidt 2019-02-04 23:23:15 +02:00 committed by Damien George
parent 8fea833e3f
commit ec31438c54
1 changed files with 2 additions and 0 deletions

View File

@ -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