mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
LP-377 Remove references to HwSettings object. This is not needed anymore.
This commit is contained in:
parent
b1f7f5e4bf
commit
cb53094843
@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
#include <openpilot.h>
|
#include <openpilot.h>
|
||||||
|
|
||||||
#include "hwsettings.h"
|
|
||||||
#include "taskinfo.h"
|
#include "taskinfo.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
@ -114,10 +113,6 @@ static int32_t comUsbBridgeInitialize(void)
|
|||||||
#ifdef MODULE_COMUSBBRIDGE_BUILTIN
|
#ifdef MODULE_COMUSBBRIDGE_BUILTIN
|
||||||
bridge_enabled = true;
|
bridge_enabled = true;
|
||||||
#else
|
#else
|
||||||
HwSettingsInitialize();
|
|
||||||
HwSettingsOptionalModulesData optionalModules;
|
|
||||||
|
|
||||||
HwSettingsOptionalModulesGet(&optionalModules);
|
|
||||||
|
|
||||||
if (usart_port && vcp_port) {
|
if (usart_port && vcp_port) {
|
||||||
bridge_enabled = true;
|
bridge_enabled = true;
|
||||||
|
@ -438,7 +438,6 @@ void ConfigRevoHWWidget::rcvrPortChanged(int index)
|
|||||||
break;
|
break;
|
||||||
case HwSettings::RM_RCVRPORT_DEBUGCONSOLE:
|
case HwSettings::RM_RCVRPORT_DEBUGCONSOLE:
|
||||||
case HwSettings::RM_RCVRPORT_PPMDEBUGCONSOLE:
|
case HwSettings::RM_RCVRPORT_PPMDEBUGCONSOLE:
|
||||||
m_ui->cbRcvrComSpeed->setVisible(true);
|
|
||||||
if (isComboboxOptionSelected(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DEBUGCONSOLE)) {
|
if (isComboboxOptionSelected(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DEBUGCONSOLE)) {
|
||||||
setComboboxSelectedOption(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DISABLED);
|
setComboboxSelectedOption(m_ui->cbFlexi, HwSettings::RM_FLEXIPORT_DISABLED);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user