diff --git a/src/stm32cubeai/py_st_nn.c b/src/stm32cubeai/py_st_nn.c index 3beef8f97..6055e05e5 100755 --- a/src/stm32cubeai/py_st_nn.c +++ b/src/stm32cubeai/py_st_nn.c @@ -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);