mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 01:40:35 +08:00
Micro optimization in UAVCAN polling loop
This commit is contained in:
@@ -284,7 +284,7 @@ int UavcanNode::run()
|
||||
}
|
||||
|
||||
//can we mix?
|
||||
if (_mixers != nullptr) {
|
||||
if (controls_updated && (_mixers != nullptr)) {
|
||||
|
||||
// XXX one output group has 8 outputs max,
|
||||
// but this driver could well serve multiple groups.
|
||||
|
||||
Reference in New Issue
Block a user