We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb247ea commit 26f0616Copy full SHA for 26f0616
1 file changed
esp8266/modmachine.c
@@ -31,6 +31,7 @@
31
#include "py/runtime.h"
32
#include "extmod/machine_mem.h"
33
#include "utils.h"
34
+#include "modpyb.h"
35
36
#include "os_type.h"
37
#include "osapi.h"
@@ -120,6 +121,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
120
121
{ MP_ROM_QSTR(MP_QSTR_mem32), MP_ROM_PTR(&machine_mem32_obj) },
122
123
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&esp_timer_type) },
124
+ { MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&pyb_pin_type) },
125
};
126
127
STATIC MP_DEFINE_CONST_DICT(machine_module_globals, machine_module_globals_table);
0 commit comments