Make cyw43.set_power_management() be a function as intended

This commit is contained in:
Jeff Epler 2022-09-30 07:56:59 -05:00
parent 3281e14be1
commit 84c7ac4a81
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ const mcu_pin_obj_t *validate_obj_is_free_pin_including_cyw43(mp_obj_t obj) {
STATIC const mp_rom_map_elem_t cyw43_module_globals_table[] = { STATIC const mp_rom_map_elem_t cyw43_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_cyw43) }, { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_cyw43) },
{ MP_ROM_QSTR(MP_QSTR_CywPin), MP_ROM_QSTR(MP_QSTR_CywPin) }, { MP_ROM_QSTR(MP_QSTR_CywPin), MP_ROM_QSTR(MP_QSTR_CywPin) },
{ MP_ROM_QSTR(MP_QSTR_set_power_management), MP_ROM_QSTR(MP_QSTR_set_power_management) }, { MP_ROM_QSTR(MP_QSTR_set_power_management), &cyw43_set_power_management_obj },
}; };
STATIC MP_DEFINE_CONST_DICT(cyw43_module_globals, cyw43_module_globals_table); STATIC MP_DEFINE_CONST_DICT(cyw43_module_globals, cyw43_module_globals_table);