Skip to content

Commit

Permalink
uORB: Fix a bug in IndexedStack rm
Browse files Browse the repository at this point in the history
Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Dec 19, 2023
1 parent e6bfe2c commit ff940db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/common/uORB/IndexedStack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class IndexedStack

if (!handle_valid(handle) ||
!handle_valid(p)) {
return r;
return false;
}

if (p == handle) {
Expand Down

0 comments on commit ff940db

Please sign in to comment.