Skip to content

Commit 2a7e89b

Browse files
committed
LP-551 Rename getNeutralValue() to neutralValue()
1 parent b68c130 commit 2a7e89b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ground/gcs/src/plugins/config/configoutputwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ void ConfigOutputWidget::setChannelLimits(OutputChannelForm *channelForm, Output
579579
ConfigOutputWidget::ChannelConfigWarning ConfigOutputWidget::checkChannelConfig(OutputChannelForm *channelForm, OutputBankControls *bankControls)
580580
{
581581
ChannelConfigWarning warning = None;
582-
int currentNeutralValue = channelForm->getNeutralValue();
582+
int currentNeutralValue = channelForm->neutralValue();
583583

584584
// Check if RevMotor has neutral value around center
585585
if (channelForm->isReversableMotor()) {

ground/gcs/src/plugins/config/outputchannelform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ void OutputChannelForm::sendChannelTest(int value)
380380
*
381381
* Returns current neutral value
382382
*/
383-
int OutputChannelForm::getNeutralValue()
383+
int OutputChannelForm::neutralValue()
384384
{
385385
return ui->actuatorNeutral->value();
386386
}

ground/gcs/src/plugins/config/outputchannelform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public slots:
6363
void enableChannelTest(bool state);
6464
QString outputMixerType();
6565
void setLimits(int actuatorMinMinimum, int actuatorMinMaximum, int actuatorMaxMinimum, int actuatorMaxMaximum);
66-
int getNeutralValue();
66+
int neutralValue();
6767
bool isServoOutput();
6868
bool isNormalMotor();
6969
bool isReversableMotor();

0 commit comments

Comments
 (0)