mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 06:23:34 +08:00
Tests fixes, the library should compile now
This commit is contained in:
@@ -212,8 +212,7 @@ class FirmwareUpdateTrigger : public INodeInfoListener,
|
||||
|
||||
virtual void handleNodeStatusChange(const NodeStatusMonitor::NodeStatusChangeEvent& event)
|
||||
{
|
||||
if (event.status.status_code == protocol::NodeStatus::STATUS_OFFLINE ||
|
||||
!event.status.known)
|
||||
if (event.status.mode == protocol::NodeStatus::MODE_OFFLINE)
|
||||
{
|
||||
pending_nodes_.remove(event.node_id);
|
||||
UAVCAN_TRACE("FirmwareUpdateTrigger", "Node ID %d is offline hence forgotten", int(event.node_id.get()));
|
||||
|
||||
Reference in New Issue
Block a user