This is an automated email from the ASF dual-hosted git repository. cederom pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 3b0181dbd036f4115af6a8e047609a1217999618 Author: wangjianyu3 <wangjian...@xiaomi.com> AuthorDate: Thu Apr 24 20:33:43 2025 +0800 system/uORB: Fix orb_loop_s undeclared error /workspace/apps/system/uorb/uORB/internal.h:42:31: error: 'struct orb_loop_s' declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: wangjianyu3 <wangjian...@xiaomi.com> --- system/uorb/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/system/uorb/CMakeLists.txt b/system/uorb/CMakeLists.txt index 18656add3..18a510feb 100644 --- a/system/uorb/CMakeLists.txt +++ b/system/uorb/CMakeLists.txt @@ -29,7 +29,11 @@ if(CONFIG_UORB) nuttx_add_library(uorb STATIC) - file(GLOB_RECURSE CSRCS "sensor/*.c" "uORB/*.c") + file(GLOB_RECURSE CSRCS "sensor/*.c" "uORB/uORB.c") + + if(CONFIG_UORB_LOOP_MAX_EVENTS) + file(GLOB_RECURSE CSRCS "uORB/loop.c" "uORB/epoll.c") + endif() if(CONFIG_UORB_LISTENER) nuttx_add_application(