File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,11 @@ extern const struct _mp_obj_module_t mp_module_iyo_hwio;
242242#else
243243#define MICROPY_PY_USELECT_DEF
244244#endif
245+ #if MICROPY_PY_ASI_HWIO
246+ #define MICROPY_PY_ASI_HWIO_DEF { MP_ROM_QSTR(MP_QSTR_iyo_hwio), MP_ROM_PTR(&mp_module_iyo_hwio) },
247+ #else
248+ #define MICROPY_PY_ASI_HWIO_DEF
249+ #endif
245250
246251#define MICROPY_PORT_BUILTIN_MODULES \
247252 MICROPY_PY_FFI_DEF \
@@ -252,7 +257,7 @@ extern const struct _mp_obj_module_t mp_module_iyo_hwio;
252257 MICROPY_PY_UOS_DEF \
253258 MICROPY_PY_USELECT_DEF \
254259 MICROPY_PY_TERMIOS_DEF \
255- { MP_ROM_QSTR(MP_QSTR_iyo_hwio), MP_ROM_PTR(&mp_module_iyo_hwio) }, \
260+ MICROPY_PY_ASI_HWIO_DEF \
256261
257262// type definitions for the specific machine
258263
You can’t perform that action at this time.
0 commit comments