Skip to content

Commit e05cb41

Browse files
committed
zephyr/modmachine: Add Signal class.
1 parent cf70f9a commit e05cb41

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

zephyr/modmachine.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "py/obj.h"
3333
#include "py/runtime.h"
3434
#include "extmod/machine_mem.h"
35+
#include "extmod/machine_signal.h"
3536
#include "extmod/machine_pulse.h"
3637
#include "extmod/machine_i2c.h"
3738
#include "modmachine.h"
@@ -56,6 +57,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
5657
{ MP_ROM_QSTR(MP_QSTR_reset_cause), MP_ROM_PTR(&machine_reset_cause_obj) },
5758

5859
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&machine_pin_type) },
60+
{ MP_ROM_QSTR(MP_QSTR_Signal), MP_ROM_PTR(&machine_signal_type) },
5961

6062
// reset causes
6163
/*{ MP_ROM_QSTR(MP_QSTR_PWRON_RESET), MP_ROM_INT(REASON_DEFAULT_RST) },*/

0 commit comments

Comments
 (0)