From b5a0c8119641b3a4006a3535650d95129f1f3d92 Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Mon, 20 Jul 2015 01:33:47 +0200 Subject: [PATCH] LP-51 Fix merge issue for Revo / Revonano HW config display --- .../openpilotgcs/src/plugins/config/configgadgetwidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp index 4782b767a..e658a4ff7 100644 --- a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp @@ -194,8 +194,9 @@ void ConfigGadgetWidget::onAutopilotConnect() // Revolution family QWidget *qwd = new ConfigRevoWidget(this); stackWidget->replaceTab(ConfigGadgetWidget::sensors, qwd); - qwd = new ConfigRevoHWWidget(this); - if (board == 0x0905) { + if (board == 0x0903) { + qwd = new ConfigRevoHWWidget(this); + } else if (board == 0x0905) { qwd = new ConfigRevoNanoHWWidget(this); } stackWidget->replaceTab(ConfigGadgetWidget::hardware, qwd);