Skip to content

Commit e05cb41

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy