mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 12:10:35 +08:00
uORB: Update code style
This commit is contained in:
@@ -269,6 +269,7 @@ int orb_exists(const struct orb_metadata *meta, int instance)
|
||||
int orb_group_count(const struct orb_metadata *meta)
|
||||
{
|
||||
unsigned group_count = 0;
|
||||
|
||||
while (!uORB::Manager::get_instance()->orb_exists(meta, group_count++)) {};
|
||||
|
||||
return group_count;
|
||||
|
||||
Reference in New Issue
Block a user