Browse Source

Sub: Change software type to 40 to identify as Sub instead of copter

mission-4.1.18
Jacob Walser 8 years ago committed by Andrew Tridgell
parent
commit
10ff379938
  1. 2
      ArduSub/Parameters.cpp
  2. 2
      ArduSub/Parameters.h

2
ArduSub/Parameters.cpp

@ -47,7 +47,7 @@ const AP_Param::Info Sub::var_info[] = { @@ -47,7 +47,7 @@ const AP_Param::Info Sub::var_info[] = {
// @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
// @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),

2
ArduSub/Parameters.h

@ -24,7 +24,7 @@ public: @@ -24,7 +24,7 @@ public:
// 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 = 10; // 0 for APM
static const uint16_t k_software_type = 40; // 0 for APM
// trunk
// Parameter identities.

Loading…
Cancel
Save