mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 11:43:34 +08:00
Software version is not required for node initialization
This commit is contained in:
@@ -11,10 +11,8 @@ namespace uavcan
|
||||
|
||||
bool NodeStatusProvider::isNodeInfoInitialized() const
|
||||
{
|
||||
// Hardware version is not required
|
||||
return (node_info_.software_version != protocol::SoftwareVersion()) &&
|
||||
(node_info_.uavcan_version != protocol::SoftwareVersion()) &&
|
||||
(!node_info_.name.empty());
|
||||
// Hardware/Software versions are not required
|
||||
return (node_info_.uavcan_version != protocol::SoftwareVersion()) && (!node_info_.name.empty());
|
||||
}
|
||||
|
||||
int NodeStatusProvider::publish()
|
||||
|
||||
Reference in New Issue
Block a user