Skip to content

Commit

Permalink
Add Sub master to firmware options
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer committed Feb 27, 2017
1 parent fea29a4 commit 83553a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/VehicleSetup/FirmwareUpgradeController.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ void FirmwareUpgradeController::_initFirmwareHash()
{ 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, 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 //////////////////////////////////////////////////
Expand Down Expand Up @@ -701,6 +702,8 @@ QStringList FirmwareUpgradeController::apmAvailableVersions(void)
case CopterFirmware:
version = "MultiRotor - ";
break;
case SubFirmware:
version = "Sub - ";
break;
case PlaneFirmware:
case RoverFirmware:
Expand Down
1 change: 1 addition & 0 deletions src/VehicleSetup/FirmwareUpgradeController.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class FirmwareUpgradeController : public QObject
CopterFirmware,
PlaneFirmware,
RoverFirmware,
SubFirmware,
DefaultVehicleFirmware
} FirmwareVehicleType_t;

Expand Down

0 comments on commit 83553a2

Please sign in to comment.