mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mixer_group: improved get_multirotor_count () code readbility.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
parent
09d79b221f
commit
5fe7992af5
@ -208,10 +208,9 @@ MixerGroup::get_multirotor_count()
|
||||
|
||||
rotor_count = mixer->get_multirotor_count();
|
||||
|
||||
if (rotor_count > 0) {
|
||||
break;
|
||||
if (rotor_count > 0) { break; }
|
||||
|
||||
} else { mixer = mixer -> _next;}
|
||||
mixer = mixer -> _next;
|
||||
}
|
||||
|
||||
return rotor_count;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user