Sub: Change software type to 40 to identify as Sub instead of copter
This commit is contained in:
parent
bb3e32d391
commit
10ff379938
@ -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),
|
||||
|
@ -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…
Reference in New Issue
Block a user