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:
parent
4efb8cd5c7
commit
b5a0c81196
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user