From b277ca83683fa54a045d6d506f9ddc9dd75322dc Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 29 Nov 2022 16:13:27 +0100 Subject: [PATCH] misc/stm32cube: Fix module register macro. --- src/stm32cubeai/py_st_nn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);