1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

LP-51 Fix merge issue for Revo / Revonano HW config display

This commit is contained in:
Laurent Lalanne 2015-07-20 01:33:47 +02:00
parent 4efb8cd5c7
commit b5a0c81196

View File

@ -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);