From 10ff379938416b1a818cca706ad962f9c90fb89e Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Fri, 9 Dec 2016 12:17:29 -0500 Subject: [PATCH] Sub: Change software type to 40 to identify as Sub instead of copter --- ArduSub/Parameters.cpp | 2 +- ArduSub/Parameters.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index 927a1fe61a..8a739137e1 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -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), diff --git a/ArduSub/Parameters.h b/ArduSub/Parameters.h index c72775ee42..e62f172e2f 100644 --- a/ArduSub/Parameters.h +++ b/ArduSub/Parameters.h @@ -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.