We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf70f9a commit e05cb41Copy full SHA for e05cb41
zephyr/modmachine.c
@@ -32,6 +32,7 @@
32
#include "py/obj.h"
33
#include "py/runtime.h"
34
#include "extmod/machine_mem.h"
35
+#include "extmod/machine_signal.h"
36
#include "extmod/machine_pulse.h"
37
#include "extmod/machine_i2c.h"
38
#include "modmachine.h"
@@ -56,6 +57,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
56
57
{ MP_ROM_QSTR(MP_QSTR_reset_cause), MP_ROM_PTR(&machine_reset_cause_obj) },
58
59
{ 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) },
61
62
// reset causes
63
/*{ MP_ROM_QSTR(MP_QSTR_PWRON_RESET), MP_ROM_INT(REASON_DEFAULT_RST) },*/
0 commit comments