Skip to content

Commit

Permalink
uORB: Increase MAX_EVENT_WAITERS to 32 for protected mode as well
Browse files Browse the repository at this point in the history
Protected mode needs more of these as well
  • Loading branch information
pussuw committed Oct 3, 2023
1 parent e4106e4 commit 34fa4d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions platforms/common/uORB/uORBDeviceNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ typedef void *uorb_cb_handle_t;
#define UORB_INVALID_CB_HANDLE nullptr
#define uorb_cb_handle_valid(x) ((x) != nullptr)
#else
#if defined(CONFIG_BUILD_KERNEL)
#define MAX_EVENT_WAITERS 32
#else
#define MAX_EVENT_WAITERS 5
#endif
#define UORB_INVALID_CB_HANDLE -1
typedef int8_t uorb_cb_handle_t;
#define uorb_cb_handle_valid(x) ((x) >= 0)
Expand Down

0 comments on commit 34fa4d6

Please sign in to comment.