mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 04:53:35 +08:00
FirmwareUpdateTrigger handleFirmwareUpdateConfirmation() made optional
This commit is contained in:
@@ -80,12 +80,18 @@ public:
|
||||
* This node is invoked when the node responds to the update request with confirmation.
|
||||
* Note that if by the time of arrival of the response the node is already removed, this method will not be called.
|
||||
*
|
||||
* Implementation is optional; default one does nothing.
|
||||
*
|
||||
* @param node_id Node ID that confirmed the request.
|
||||
*
|
||||
* @param response Actual response.
|
||||
*/
|
||||
virtual void handleFirmwareUpdateConfirmation(NodeID node_id,
|
||||
const protocol::file::BeginFirmwareUpdate::Response& response) = 0;
|
||||
const protocol::file::BeginFirmwareUpdate::Response& response)
|
||||
{
|
||||
(void)node_id;
|
||||
(void)response;
|
||||
}
|
||||
|
||||
virtual ~IFirmwareVersionChecker() { }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user