mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00: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