mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
LP-551 Rename getNeutralValue() to neutralValue()
This commit is contained in:
parent
b68c130bc4
commit
2a7e89b701
@ -579,7 +579,7 @@ void ConfigOutputWidget::setChannelLimits(OutputChannelForm *channelForm, Output
|
||||
ConfigOutputWidget::ChannelConfigWarning ConfigOutputWidget::checkChannelConfig(OutputChannelForm *channelForm, OutputBankControls *bankControls)
|
||||
{
|
||||
ChannelConfigWarning warning = None;
|
||||
int currentNeutralValue = channelForm->getNeutralValue();
|
||||
int currentNeutralValue = channelForm->neutralValue();
|
||||
|
||||
// Check if RevMotor has neutral value around center
|
||||
if (channelForm->isReversableMotor()) {
|
||||
|
@ -380,7 +380,7 @@ void OutputChannelForm::sendChannelTest(int value)
|
||||
*
|
||||
* Returns current neutral value
|
||||
*/
|
||||
int OutputChannelForm::getNeutralValue()
|
||||
int OutputChannelForm::neutralValue()
|
||||
{
|
||||
return ui->actuatorNeutral->value();
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ public slots:
|
||||
void enableChannelTest(bool state);
|
||||
QString outputMixerType();
|
||||
void setLimits(int actuatorMinMinimum, int actuatorMinMaximum, int actuatorMaxMinimum, int actuatorMaxMaximum);
|
||||
int getNeutralValue();
|
||||
int neutralValue();
|
||||
bool isServoOutput();
|
||||
bool isNormalMotor();
|
||||
bool isReversableMotor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user