1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

REVONANO - Fix Auto Upload

This commit is contained in:
Stefan Karlsson 2014-12-20 22:56:46 +01:00 committed by Alessio Morale
parent aff4951d02
commit 7252fb4207
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
BOARD_TYPE := 0x09
BOARD_REVISION := 0x03
BOARD_REVISION := 0x05
BOOTLOADER_VERSION := 0x06
HW_TYPE := 0x00

View File

@ -96,6 +96,7 @@ void DeviceWidget::populate()
break;
case 0x0903:
case 0x0904:
case 0x0905:
devicePic.load(":/uploader/images/gcs-board-revo.png");
break;
default:

View File

@ -764,6 +764,9 @@ bool UploaderGadgetWidget::autoUpdate(bool erase)
case 0x904:
filename = "fw_discoveryf4bare";
break;
case 0x905:
filename = "fw_revonano";
break;
default:
emit progressUpdate(FAILURE, QVariant(tr("Unknown board id '0x%1'").arg(QString::number(m_dfu->devices[0].ID, 16))));
emit autoUpdateFailed();