File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 26
26
*/
27
27
28
28
#include "py/runtime.h"
29
+ #include "drivers/dht/dht.h"
29
30
#include "extmod/machine_bitstream.h"
30
31
#include "extmod/machine_mem.h"
31
32
#include "extmod/machine_i2c.h"
@@ -149,6 +150,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
149
150
{ MP_ROM_QSTR (MP_QSTR_bitstream ), MP_ROM_PTR (& machine_bitstream_obj ) },
150
151
#endif
151
152
{ MP_ROM_QSTR (MP_QSTR_time_pulse_us ), MP_ROM_PTR (& machine_time_pulse_us_obj ) },
153
+ { MP_ROM_QSTR (MP_QSTR_dht_readinto ), MP_ROM_PTR (& dht_readinto_obj ) },
152
154
153
155
// Reset reasons
154
156
{ MP_ROM_QSTR (MP_QSTR_PWRON_RESET ), MP_ROM_INT (MP_PWRON_RESET ) },
Original file line number Diff line number Diff line change 26
26
27
27
#include "py/mperrno.h"
28
28
#include "py/runtime.h"
29
- #include "drivers/dht/dht.h"
30
29
#include "modmimxrt.h"
31
30
32
31
STATIC const mp_rom_map_elem_t mimxrt_module_globals_table [] = {
33
32
{ MP_ROM_QSTR (MP_QSTR___name__ ), MP_ROM_QSTR (MP_QSTR_mimxrt ) },
34
33
{ MP_ROM_QSTR (MP_QSTR_Flash ), MP_ROM_PTR (& mimxrt_flash_type ) },
35
-
36
- { MP_ROM_QSTR (MP_QSTR_dht_readinto ), MP_ROM_PTR (& dht_readinto_obj ) },
37
34
};
38
35
STATIC MP_DEFINE_CONST_DICT (mimxrt_module_globals , mimxrt_module_globals_table );
39
36
You can’t perform that action at this time.
0 commit comments