summaryrefslogtreecommitdiff
path: root/extmod/modmachine.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/modmachine.c')
-rw-r--r--extmod/modmachine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/modmachine.c b/extmod/modmachine.c
index 90e2a38a7..6fb6b9eaf 100644
--- a/extmod/modmachine.c
+++ b/extmod/modmachine.c
@@ -186,7 +186,9 @@ static const mp_rom_map_elem_t machine_module_globals_table[] = {
#if MICROPY_PY_MACHINE_PIN_BASE
{ MP_ROM_QSTR(MP_QSTR_PinBase), MP_ROM_PTR(&machine_pinbase_type) },
#endif
+ #if MICROPY_PY_MACHINE_SIGNAL
{ MP_ROM_QSTR(MP_QSTR_Signal), MP_ROM_PTR(&machine_signal_type) },
+ #endif
// Classes for software bus protocols.
#if MICROPY_PY_MACHINE_SOFTI2C