autostart scripts: remove SYS_PARAM_VER

With the airframe defaults there's no use for that anymore
This commit is contained in:
Beat Küng
2021-03-31 10:50:21 +02:00
committed by Daniel Agar
parent aec63eacbe
commit 9dd6bef7f9
6 changed files with 4 additions and 43 deletions
+1 -15
View File
@@ -57,8 +57,7 @@ PARAM_DEFINE_INT32(SYS_AUTOSTART, 0);
* RC* parameters are preserved.
*
* @value 0 Keep parameters
* @value 1 Reset parameters
* @value 2 Reload airframe parameters
* @value 1 Reset parameters to airframe defaults
* @group System
*/
PARAM_DEFINE_INT32(SYS_AUTOCONFIG, 0);
@@ -114,19 +113,6 @@ PARAM_DEFINE_INT32(SYS_RESTART_TYPE, 2);
*/
PARAM_DEFINE_INT32(SYS_MC_EST_GROUP, 2);
/**
* Parameter version
*
* This is used internally only: an airframe configuration might set an expected
* parameter version value via PARAM_DEFAULTS_VER. This is checked on bootup
* against SYS_PARAM_VER, and if they do not match, parameters from the airframe
* configuration are reloaded.
*
* @min 0
* @group System
*/
PARAM_DEFINE_INT32(SYS_PARAM_VER, 1);
/**
* Enable auto start of rate gyro thermal calibration at the next power up.
*
@@ -401,8 +401,6 @@ private:
DEFINE_PARAMETERS(
(ParamInt<px4::params::SYS_AUTOSTART>) _param_sys_autostart, /**< example parameter */
// general parameters
(ParamInt<px4::params::LPE_FUSION>) _param_lpe_fusion,
(ParamFloat<px4::params::LPE_VXY_PUB>) _param_lpe_vxy_pub,
@@ -309,7 +309,6 @@ MavlinkParametersManager::send()
param_find("SENS_BOARD_Y_OFF");
param_find("SENS_BOARD_Z_OFF");
param_find("SENS_DPRES_OFF");
param_find("SYS_PARAM_VER");
param_find("TRIG_MODE");
param_find("UAVCAN_ENABLE");