Skip to content

Commit c9571fe

Browse files
committed
ROTARYIO_MODULE mistakenly omitted from module list
1 parent 367f658 commit c9571fe

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

py/circuitpy_mpconfig.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,13 @@ extern const struct _mp_obj_module_t os_module;
360360
#define OS_MODULE_ALT_NAME
361361
#endif
362362

363+
#if CIRCUITPY_PEW
364+
extern const struct _mp_obj_module_t pew_module;
365+
#define PEW_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pew),(mp_obj_t)&pew_module },
366+
#else
367+
#define PEW_MODULE
368+
#endif
369+
363370
#if CIRCUITPY_PIXELBUF
364371
extern const struct _mp_obj_module_t pixelbuf_module;
365372
#define PIXELBUF_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pixelbuf),(mp_obj_t)&pixelbuf_module },
@@ -474,13 +481,6 @@ extern const struct _mp_obj_module_t ustack_module;
474481
#define USTACK_MODULE
475482
#endif
476483

477-
#if CIRCUITPY_PEW
478-
extern const struct _mp_obj_module_t pew_module;
479-
#define PEW_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pew),(mp_obj_t)&pew_module },
480-
#else
481-
#define PEW_MODULE
482-
#endif
483-
484484
// These modules are not yet in shared-bindings, but we prefer the non-uxxx names.
485485
#if MICROPY_PY_UERRNO
486486
#define ERRNO_MODULE { MP_ROM_QSTR(MP_QSTR_errno), MP_ROM_PTR(&mp_module_uerrno) },
@@ -546,6 +546,7 @@ extern const struct _mp_obj_module_t pew_module;
546546
PULSEIO_MODULE \
547547
RANDOM_MODULE \
548548
RE_MODULE \
549+
ROTARYIO_MODULE \
549550
RTC_MODULE \
550551
SAMD_MODULE \
551552
STAGE_MODULE \

0 commit comments

Comments
 (0)