1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15:54:15 +01:00

LP-239 Use Revo HW widget for DiscoveryF4

This commit is contained in:
Vladimir Zidar 2016-06-22 22:27:37 +02:00
parent d7ebf30b22
commit 73c96be4b7

View File

@ -196,7 +196,7 @@ void ConfigGadgetWidget::onAutopilotConnect()
// Revolution family
QWidget *qwd = new ConfigRevoWidget(this);
stackWidget->replaceTab(ConfigGadgetWidget::sensors, qwd);
if (board == 0x0903) {
if (board == 0x0903 || board == 0x0904) {
qwd = new ConfigRevoHWWidget(this);
} else if (board == 0x0905) {
qwd = new ConfigRevoNanoHWWidget(this);