mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1755 from openmv/cube_nn_module_fix
misc/stm32cube: Fix module register macro.
This commit is contained in:
commit
1f94aaf828
@ -93,4 +93,4 @@ STATIC MP_DEFINE_CONST_DICT(globals_dict, globals_dict_table);
|
||||
const mp_obj_module_t nn_st_module = {.base = {&mp_type_module},
|
||||
.globals = (mp_obj_t)&globals_dict};
|
||||
|
||||
MP_REGISTER_MODULE(MP_QSTR_nn_st, nn_st_module, MICROPY_PY_CUBEAI);
|
||||
MP_REGISTER_MODULE(MP_QSTR_nn_st, nn_st_module);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user