mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
delete unused MAV_TEST_PAR
This commit is contained in:
@@ -577,9 +577,6 @@ void Mavlink::mavlink_update_system()
|
|||||||
_param_use_hil_gps = param_find("MAV_USEHILGPS");
|
_param_use_hil_gps = param_find("MAV_USEHILGPS");
|
||||||
_param_forward_externalsp = param_find("MAV_FWDEXTSP");
|
_param_forward_externalsp = param_find("MAV_FWDEXTSP");
|
||||||
_param_broadcast = param_find("MAV_BROADCAST");
|
_param_broadcast = param_find("MAV_BROADCAST");
|
||||||
|
|
||||||
/* test param - needs to be referenced, but is unused */
|
|
||||||
(void)param_find("MAV_TEST_PAR");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update system and component id */
|
/* update system and component id */
|
||||||
|
|||||||
@@ -112,15 +112,3 @@ PARAM_DEFINE_INT32(MAV_FWDEXTSP, 1);
|
|||||||
* @group MAVLink
|
* @group MAVLink
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(MAV_BROADCAST, 0);
|
PARAM_DEFINE_INT32(MAV_BROADCAST, 0);
|
||||||
|
|
||||||
/**
|
|
||||||
* Test parameter
|
|
||||||
*
|
|
||||||
* This parameter is not actively used by the system. Its purpose is to allow
|
|
||||||
* testing the parameter interface on the communication level.
|
|
||||||
*
|
|
||||||
* @group MAVLink
|
|
||||||
* @min -1000
|
|
||||||
* @max 1000
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_INT32(MAV_TEST_PAR, 1);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user