From 41185d502ae4e94c38415e7ececa5c379e4d7dd8 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 3 Dec 2015 17:26:03 +0100 Subject: [PATCH] Fix upgrade controller --- src/VehicleSetup/FirmwareUpgradeController.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VehicleSetup/FirmwareUpgradeController.cc b/src/VehicleSetup/FirmwareUpgradeController.cc index 078e5c9a4..4a3bcab60 100644 --- a/src/VehicleSetup/FirmwareUpgradeController.cc +++ b/src/VehicleSetup/FirmwareUpgradeController.cc @@ -119,7 +119,7 @@ void FirmwareUpgradeController::_foundBoard(bool firstAttempt, const QSerialPort break; case QGCSerialPortInfo::BoardTypePX4FMUV2: case QGCSerialPortInfo::BoardTypePX4FMUV4: - _foundBoardType = "Pixhawk (any version)"; + _foundBoardType = "Pixhawk"; _startFlashWhenBootloaderFound = false; break; case QGCSerialPortInfo::BoardTypeAeroCore: @@ -193,6 +193,9 @@ void FirmwareUpgradeController::_initFirmwareHash() { AutoPilotStackPX4, StableFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/stable/px4fmu-v4_default.px4"}, { AutoPilotStackPX4, BetaFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/beta/px4fmu-v4_default.px4"}, { AutoPilotStackPX4, DeveloperFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/master/px4fmu-v4_default.px4"}, + { AutoPilotStackAPM, StableFirmware, QuadFirmware, "http://firmware.diydrones.com/Copter/stable/PX4-quad/ArduCopter-v4.px4"}, + { AutoPilotStackAPM, BetaFirmware, QuadFirmware, "http://firmware.diydrones.com/Copter/beta/PX4-quad/ArduCopter-v4.px4"}, + { AutoPilotStackAPM, DeveloperFirmware, QuadFirmware, "http://firmware.diydrones.com/Copter/latest/PX4-quad/ArduCopter-v4.px4"} }; //////////////////////////////////// PX4FMUV2 firmwares ////////////////////////////////////////////////// -- 2.22.0