1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Merge pull request #52 from f5soh/laurent/LP-51_Wrong_config_content

LP-51 Fix merge issue for Revo / Revonano HW config display
This commit is contained in:
a*morale 2015-07-20 23:04:06 +02:00
commit d45ef4ae91

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