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

LP-377 Remove references to HwSettings object. This is not needed anymore.

This commit is contained in:
Vladimir Zidar 2016-08-11 00:23:49 +02:00 committed by Vladimir Zidar
parent b1f7f5e4bf
commit cb53094843
2 changed files with 0 additions and 6 deletions

View File

@ -32,7 +32,6 @@
#include <openpilot.h>
#include "hwsettings.h"
#include "taskinfo.h"
#include <stdbool.h>
@ -114,10 +113,6 @@ static int32_t comUsbBridgeInitialize(void)
#ifdef MODULE_COMUSBBRIDGE_BUILTIN
bridge_enabled = true;
#else
HwSettingsInitialize();
HwSettingsOptionalModulesData optionalModules;
HwSettingsOptionalModulesGet(&optionalModules);
if (usart_port && vcp_port) {
bridge_enabled = true;

View File

@ -438,7 +438,6 @@ void ConfigRevoHWWidget::rcvrPortChanged(int index)
break;
case HwSettings::RM_RCVRPORT_DEBUGCONSOLE:
case HwSettings::RM_RCVRPORT_PPMDEBUGCONSOLE:
m_ui->cbRcvrComSpeed->setVisible(true);
if (isComboboxOptionSelected(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DEBUGCONSOLE)) {
setComboboxSelectedOption(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DISABLED);
}