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:
parent
aff4951d02
commit
7252fb4207
@ -1,5 +1,5 @@
|
||||
BOARD_TYPE := 0x09
|
||||
BOARD_REVISION := 0x03
|
||||
BOARD_REVISION := 0x05
|
||||
BOOTLOADER_VERSION := 0x06
|
||||
HW_TYPE := 0x00
|
||||
|
||||
|
@ -96,6 +96,7 @@ void DeviceWidget::populate()
|
||||
break;
|
||||
case 0x0903:
|
||||
case 0x0904:
|
||||
case 0x0905:
|
||||
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||
break;
|
||||
default:
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user