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

Remove the old AHRS configuration gadget

This commit is contained in:
James Cotton 2011-12-13 20:32:43 -06:00
parent bdc7f762d6
commit 7776cc529b
2 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,6 @@ HEADERS += configplugin.h \
configairframewidget.h \ configairframewidget.h \
config_pro_hw_widget.h \ config_pro_hw_widget.h \
config_cc_hw_widget.h \ config_cc_hw_widget.h \
configahrswidget.h \
configccattitudewidget.h \ configccattitudewidget.h \
mixercurvewidget.h \ mixercurvewidget.h \
mixercurvepoint.h \ mixercurvepoint.h \
@ -51,7 +50,6 @@ SOURCES += configplugin.cpp \
configairframewidget.cpp \ configairframewidget.cpp \
config_pro_hw_widget.cpp \ config_pro_hw_widget.cpp \
config_cc_hw_widget.cpp \ config_cc_hw_widget.cpp \
configahrswidget.cpp \
configccattitudewidget.cpp \ configccattitudewidget.cpp \
mixercurvewidget.cpp \ mixercurvewidget.cpp \
mixercurvepoint.cpp \ mixercurvepoint.cpp \
@ -71,7 +69,6 @@ SOURCES += configplugin.cpp \
FORMS += airframe.ui \ FORMS += airframe.ui \
cc_hw_settings.ui \ cc_hw_settings.ui \
pro_hw_settings.ui \ pro_hw_settings.ui \
ahrs.ui \
ccpm.ui \ ccpm.ui \
stabilization.ui \ stabilization.ui \
input.ui \ input.ui \

View File

@ -157,12 +157,14 @@ void ConfigGadgetWidget::onAutopilotConnect() {
// Mainboard family // Mainboard family
ftw->setCurrentIndex(ConfigGadgetWidget::hardware); ftw->setCurrentIndex(ConfigGadgetWidget::hardware);
ftw->removeTab(ConfigGadgetWidget::ins); ftw->removeTab(ConfigGadgetWidget::ins);
QWidget *qwd = new ConfigAHRSWidget(this); Q_ASSERT(0);
/* QWidget *qwd = new ConfigAHRSWidget(this);
ftw->insertTab(ConfigGadgetWidget::ins, qwd, QIcon(":/configgadget/images/AHRS-v1.3.png"), QString("INS")); ftw->insertTab(ConfigGadgetWidget::ins, qwd, QIcon(":/configgadget/images/AHRS-v1.3.png"), QString("INS"));
ftw->removeTab(ConfigGadgetWidget::hardware); ftw->removeTab(ConfigGadgetWidget::hardware);
qwd = new ConfigProHWWidget(this); qwd = new ConfigProHWWidget(this);
ftw->insertTab(ConfigGadgetWidget::hardware, qwd, QIcon(":/configgadget/images/hw_config.png"), QString("HW Settings")); ftw->insertTab(ConfigGadgetWidget::hardware, qwd, QIcon(":/configgadget/images/hw_config.png"), QString("HW Settings"));
ftw->setCurrentIndex(ConfigGadgetWidget::hardware); ftw->setCurrentIndex(ConfigGadgetWidget::hardware);
*/
} }
} }
emit autopilotConnected(); emit autopilotConnected();