mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 18:33:34 +08:00
NodeIDSelector fix
This commit is contained in:
@@ -50,7 +50,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
candidate = preferred.isUnicast() ? preferred.get() : NodeID::MaxRecommendedForRegularNodes;
|
candidate = preferred.isUnicast() ? preferred.get() : NodeID::MaxRecommendedForRegularNodes;
|
||||||
candidate--; // This has been tested already
|
|
||||||
|
|
||||||
// Down
|
// Down
|
||||||
while (candidate > 0)
|
while (candidate > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user