mimxrt/modmachine: Move dht_readinto() to the machine module.
This commit is contained in:
@@ -26,14 +26,11 @@
|
||||
|
||||
#include "py/mperrno.h"
|
||||
#include "py/runtime.h"
|
||||
#include "drivers/dht/dht.h"
|
||||
#include "modmimxrt.h"
|
||||
|
||||
STATIC const mp_rom_map_elem_t mimxrt_module_globals_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_mimxrt) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_Flash), MP_ROM_PTR(&mimxrt_flash_type) },
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_dht_readinto), MP_ROM_PTR(&dht_readinto_obj) },
|
||||
};
|
||||
STATIC MP_DEFINE_CONST_DICT(mimxrt_module_globals, mimxrt_module_globals_table);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user