diff --git a/flight/CopterControl/System/pios_board.c b/flight/CopterControl/System/pios_board.c
index a417ae7b8..0aafea4fa 100644
--- a/flight/CopterControl/System/pios_board.c
+++ b/flight/CopterControl/System/pios_board.c
@@ -1163,12 +1163,12 @@ void PIOS_Board_Init(void) {
/* Configure the rcvr port */
uint8_t hwsettings_rcvrport;
- HwSettingsRcvrPortGet(&hwsettings_rcvrport);
+ HwSettingsCC_RcvrPortGet(&hwsettings_rcvrport);
switch (hwsettings_rcvrport) {
- case HWSETTINGS_RCVRPORT_DISABLED:
+ case HWSETTINGS_CC_RCVRPORT_DISABLED:
break;
- case HWSETTINGS_RCVRPORT_PWM:
+ case HWSETTINGS_CC_RCVRPORT_PWM:
#if defined(PIOS_INCLUDE_PWM)
{
uint32_t pios_pwm_id;
@@ -1182,7 +1182,7 @@ void PIOS_Board_Init(void) {
}
#endif /* PIOS_INCLUDE_PWM */
break;
- case HWSETTINGS_RCVRPORT_PPM:
+ case HWSETTINGS_CC_RCVRPORT_PPM:
#if defined(PIOS_INCLUDE_PPM)
{
uint32_t pios_ppm_id;
diff --git a/flight/OpenPilot/System/pios_board.c b/flight/OpenPilot/System/pios_board.c
index b424cf5e7..d7c43f547 100644
--- a/flight/OpenPilot/System/pios_board.c
+++ b/flight/OpenPilot/System/pios_board.c
@@ -1193,17 +1193,18 @@ void PIOS_Board_Init(void) {
PIOS_ADC_Init();
PIOS_GPIO_Init();
- /* Configure the aux port */
- uint8_t hwsettings_op_auxport;
- HwSettingsOP_AuxPortGet(&hwsettings_op_auxport);
+ /* Configure the rcvr port */
+ uint8_t hwsettings_rcvrport;
+ HwSettingsOP_RcvrPortGet(&hwsettings_rcvrport);
- switch (hwsettings_op_auxport) {
- case HWSETTINGS_OP_AUXPORT_DISABLED:
+
+ switch (hwsettings_rcvrport) {
+ case HWSETTINGS_OP_RCVRPORT_DISABLED:
break;
- case HWSETTINGS_OP_AUXPORT_DEBUG:
+ case HWSETTINGS_OP_RCVRPORT_DEBUG:
/* Not supported yet */
break;
- case HWSETTINGS_OP_AUXPORT_SPEKTRUM1:
+ case HWSETTINGS_OP_RCVRPORT_SPEKTRUM1:
#if defined(PIOS_INCLUDE_SPEKTRUM)
{
uint32_t pios_usart_spektrum_id;
@@ -1224,16 +1225,7 @@ void PIOS_Board_Init(void) {
}
#endif
break;
- }
-
- /* Configure the rcvr port */
- uint8_t hwsettings_rcvrport;
- HwSettingsRcvrPortGet(&hwsettings_rcvrport);
-
- switch (hwsettings_rcvrport) {
- case HWSETTINGS_RCVRPORT_DISABLED:
- break;
- case HWSETTINGS_RCVRPORT_PWM:
+ case HWSETTINGS_OP_RCVRPORT_PWM:
#if defined(PIOS_INCLUDE_PWM)
{
uint32_t pios_pwm_id;
@@ -1247,7 +1239,7 @@ void PIOS_Board_Init(void) {
}
#endif /* PIOS_INCLUDE_PWM */
break;
- case HWSETTINGS_RCVRPORT_PPM:
+ case HWSETTINGS_OP_RCVRPORT_PPM:
#if defined(PIOS_INCLUDE_PPM)
{
uint32_t pios_ppm_id;
diff --git a/ground/openpilotgcs/src/plugins/config/config_cc_hw_widget.cpp b/ground/openpilotgcs/src/plugins/config/config_cc_hw_widget.cpp
index 1d98874ba..b6c543698 100644
--- a/ground/openpilotgcs/src/plugins/config/config_cc_hw_widget.cpp
+++ b/ground/openpilotgcs/src/plugins/config/config_cc_hw_widget.cpp
@@ -43,7 +43,7 @@ ConfigCCHWWidget::ConfigCCHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
addUAVObjectToWidgetRelation("TelemetrySettings","Speed",m_telemetry->telemetrySpeed);
addUAVObjectToWidgetRelation("HwSettings","CC_FlexiPort",m_telemetry->cbFlexi);
addUAVObjectToWidgetRelation("HwSettings","CC_MainPort",m_telemetry->cbTele);
- addUAVObjectToWidgetRelation("HwSettings","RcvrPort",m_telemetry->cbRcvr);
+ addUAVObjectToWidgetRelation("HwSettings","CC_RcvrPort",m_telemetry->cbRcvr);
connect(m_telemetry->cchwHelp,SIGNAL(clicked()),this,SLOT(openHelp()));
enableControls(false);
populateWidgets();
diff --git a/shared/uavobjectdefinition/hwsettings.xml b/shared/uavobjectdefinition/hwsettings.xml
index 242cba679..228d50b5e 100644
--- a/shared/uavobjectdefinition/hwsettings.xml
+++ b/shared/uavobjectdefinition/hwsettings.xml
@@ -3,12 +3,11 @@
Selection of optional hardware configurations.
+
-
-
-
+