Commit 83553a24 authored by Jacob Walser's avatar Jacob Walser

Add Sub master to firmware options

parent fea29a4a
...@@ -226,7 +226,8 @@ void FirmwareUpgradeController::_initFirmwareHash() ...@@ -226,7 +226,8 @@ void FirmwareUpgradeController::_initFirmwareHash()
{ AutoPilotStackAPM, DeveloperFirmware, CopterFirmware, "http://firmware.ardupilot.org/Copter/latest/PX4/ArduCopter-v2.px4"}, { AutoPilotStackAPM, DeveloperFirmware, CopterFirmware, "http://firmware.ardupilot.org/Copter/latest/PX4/ArduCopter-v2.px4"},
{ AutoPilotStackAPM, DeveloperFirmware, HeliFirmware, "http://firmware.ardupilot.org/Copter/latest/PX4-heli/ArduCopter-v2.px4"}, { AutoPilotStackAPM, DeveloperFirmware, HeliFirmware, "http://firmware.ardupilot.org/Copter/latest/PX4-heli/ArduCopter-v2.px4"},
{ AutoPilotStackAPM, DeveloperFirmware, PlaneFirmware, "http://firmware.ardupilot.org/Plane/latest/PX4/ArduPlane-v2.px4"}, { AutoPilotStackAPM, DeveloperFirmware, PlaneFirmware, "http://firmware.ardupilot.org/Plane/latest/PX4/ArduPlane-v2.px4"},
{ AutoPilotStackAPM, DeveloperFirmware, RoverFirmware, "http://firmware.ardupilot.org/Rover/latest/PX4/APMrover2-v2.px4"} { AutoPilotStackAPM, DeveloperFirmware, RoverFirmware, "http://firmware.ardupilot.org/Rover/latest/PX4/APMrover2-v2.px4"},
{ AutoPilotStackAPM, DeveloperFirmware, SubFirmware, "http://firmware.ardupilot.org/Sub/latest/PX4/ArduSub-v2.px4"},
}; };
//////////////////////////////////// PX4FMU aerocore firmwares ////////////////////////////////////////////////// //////////////////////////////////// PX4FMU aerocore firmwares //////////////////////////////////////////////////
...@@ -701,6 +702,8 @@ QStringList FirmwareUpgradeController::apmAvailableVersions(void) ...@@ -701,6 +702,8 @@ QStringList FirmwareUpgradeController::apmAvailableVersions(void)
case CopterFirmware: case CopterFirmware:
version = "MultiRotor - "; version = "MultiRotor - ";
break; break;
case SubFirmware:
version = "Sub - ";
break; break;
case PlaneFirmware: case PlaneFirmware:
case RoverFirmware: case RoverFirmware:
......
...@@ -63,6 +63,7 @@ public: ...@@ -63,6 +63,7 @@ public:
CopterFirmware, CopterFirmware,
PlaneFirmware, PlaneFirmware,
RoverFirmware, RoverFirmware,
SubFirmware,
DefaultVehicleFirmware DefaultVehicleFirmware
} FirmwareVehicleType_t; } FirmwareVehicleType_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment