bus device: properly register submodules

Closes: #6066 (except for similar work that needs to be done in ulab)
This commit is contained in:
Jeff Epler 2022-02-19 08:39:51 -06:00
parent 918145f768
commit 5d213e53af
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 2 additions and 0 deletions

View File

@ -78,3 +78,5 @@ const mp_obj_module_t adafruit_bus_device_module = {
}; };
MP_REGISTER_MODULE(MP_QSTR_adafruit_bus_device, adafruit_bus_device_module, CIRCUITPY_BUSDEVICE); MP_REGISTER_MODULE(MP_QSTR_adafruit_bus_device, adafruit_bus_device_module, CIRCUITPY_BUSDEVICE);
MP_REGISTER_MODULE(MP_QSTR_adafruit_bus_device_dot_i2c_device, adafruit_bus_device_i2c_device_module, CIRCUITPY_BUSDEVICE);
MP_REGISTER_MODULE(MP_QSTR_adafruit_bus_device_dot_spi_device, adafruit_bus_device_spi_device_module, CIRCUITPY_BUSDEVICE);