Merge pull request #1755 from openmv/cube_nn_module_fix

misc/stm32cube: Fix module register macro.
This commit is contained in:
Ibrahim Abdelkader 2022-11-29 17:21:02 +02:00 committed by GitHub
commit 1f94aaf828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);