Browse Source

Tracker: Remove software type param

master
Michael du Breuil 7 years ago committed by Andrew Tridgell
parent
commit
0ccacf2a96
  1. 8
      AntennaTracker/Parameters.cpp
  2. 10
      AntennaTracker/Parameters.h

8
AntennaTracker/Parameters.cpp

@ -18,14 +18,6 @@ const AP_Param::Info Tracker::var_info[] = { @@ -18,14 +18,6 @@ const AP_Param::Info Tracker::var_info[] = {
// @User: Advanced
GSCALAR(format_version, "FORMAT_VERSION", 0),
// @Param: SYSID_SW_TYPE
// @DisplayName: Software Type
// @Description: This is used by the ground station to recognise the software type (eg ArduPlane vs ArduCopter)
// @Values: 0:ArduPlane,4:AntennaTracker,10:Copter,20:Rover,40:ArduSub
// @User: Advanced
// @ReadOnly: True
GSCALAR(software_type, "SYSID_SW_TYPE", Parameters::k_software_type),
// @Param: SYSID_THISMAV
// @DisplayName: MAVLink system ID of this vehicle
// @Description: Allows setting an individual system id for this vehicle to distinguish it from others on the same network

10
AntennaTracker/Parameters.h

@ -35,18 +35,11 @@ public: @@ -35,18 +35,11 @@ public:
//////////////////////////////////////////////////////////////////
// The parameter software_type is set up solely for ground station use
// and identifies the software type (eg ArduPilotMega versus ArduCopterMega)
// GCS will interpret values 0-9 as ArduPilotMega. Developers may use
// values within that range to identify different branches.
//
static const uint16_t k_software_type = 4;
enum {
// Layout version number, always key zero.
//
k_param_format_version = 0,
k_param_software_type,
k_param_software_type, // deprecated
k_param_gcs0 = 100, // stream rates for uartA
k_param_gcs1, // stream rates for uartC
@ -124,7 +117,6 @@ public: @@ -124,7 +117,6 @@ public:
};
AP_Int16 format_version;
AP_Int8 software_type;
// Telemetry control
//

Loading…
Cancel
Save