mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:53:34 +08:00
implemented MAV_CMD_REQUEST_MESSAGE for STORAGE_INFORMATION
This commit is contained in:
committed by
Julian Oes
parent
25bfcf0497
commit
fd09198c7e
@@ -96,8 +96,12 @@ public:
|
||||
* This function is called in response to a MAV_CMD_REQUEST_MESSAGE command. The default implementation is to
|
||||
* just reset the counter to immediately send one message.
|
||||
*/
|
||||
virtual void request_message(float param1 = 0.0, float param2 = 0.0, float param3 = 0.0, float param4 = 0.0,
|
||||
float param5 = 0.0, float param6 = 0.0, float param7 = 0.0) { reset_last_sent(); }
|
||||
virtual bool request_message(float param1 = 0.0, float param2 = 0.0, float param3 = 0.0, float param4 = 0.0,
|
||||
float param5 = 0.0, float param6 = 0.0, float param7 = 0.0)
|
||||
{
|
||||
reset_last_sent();
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the average message size
|
||||
|
||||
Reference in New Issue
Block a user