mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 09:23:35 +08:00
firmware_version_checker.hpp formatting
This commit is contained in:
@@ -290,7 +290,6 @@ protected:
|
|||||||
* @return True - the class will begin sending update requests.
|
* @return True - the class will begin sending update requests.
|
||||||
* False - the node will be ignored, no request will be sent.
|
* False - the node will be ignored, no request will be sent.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
virtual bool shouldRequestFirmwareUpdate(uavcan::NodeID node_id,
|
virtual bool shouldRequestFirmwareUpdate(uavcan::NodeID node_id,
|
||||||
const uavcan::protocol::GetNodeInfo::Response& node_info,
|
const uavcan::protocol::GetNodeInfo::Response& node_info,
|
||||||
FirmwareFilePath& out_firmware_file_path)
|
FirmwareFilePath& out_firmware_file_path)
|
||||||
@@ -403,13 +402,11 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
const char* getFirmwarePath() const
|
const char* getFirmwarePath() const
|
||||||
{
|
{
|
||||||
return getFirmwareCachePath().c_str();
|
return getFirmwareCachePath().c_str();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // Include guard
|
#endif // Include guard
|
||||||
|
|||||||
Reference in New Issue
Block a user