Browse Source

Merge pull request #2485 from DonLakeFlyer/PowerComponent

Power component shutdown
QGC4.4
Don Gagne 10 years ago
parent
commit
f517889f08
  1. 5
      src/AutoPilotPlugins/PX4/PowerComponentController.cc
  2. 1
      src/AutoPilotPlugins/PX4/PowerComponentController.h
  3. 2
      src/ui/SettingsDialog.cc

5
src/AutoPilotPlugins/PX4/PowerComponentController.cc

@ -36,11 +36,6 @@ PowerComponentController::PowerComponentController(void) @@ -36,11 +36,6 @@ PowerComponentController::PowerComponentController(void)
}
PowerComponentController::~PowerComponentController()
{
_stopCalibration();
}
void PowerComponentController::calibrateEsc(void)
{
_warningMessages.clear();

1
src/AutoPilotPlugins/PX4/PowerComponentController.h

@ -40,7 +40,6 @@ class PowerComponentController : public FactPanelController @@ -40,7 +40,6 @@ class PowerComponentController : public FactPanelController
public:
PowerComponentController(void);
~PowerComponentController();
Q_INVOKABLE void calibrateEsc(void);
Q_INVOKABLE void busConfigureActuators(void);

2
src/ui/SettingsDialog.cc

@ -60,6 +60,8 @@ SettingsDialog::SettingsDialog(QWidget *parent, Qt::WindowFlags flags) @@ -60,6 +60,8 @@ SettingsDialog::SettingsDialog(QWidget *parent, Qt::WindowFlags flags)
this->window()->setWindowTitle(tr("QGroundControl Settings"));
_ui->tabWidget->setCurrentWidget(pMavsettings);
connect(_ui->buttonBox, &QDialogButtonBox::accepted, this, &SettingsDialog::accept);
}
SettingsDialog::~SettingsDialog()

Loading…
Cancel
Save