mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1397 Fix StabilizationSettingsBankX type for defaultValueForPidOption
This commit is contained in:
parent
f9343d9959
commit
04d9d3191d
@ -112,7 +112,7 @@ static bool isAttitudeOption(const QString & pidOption)
|
||||
}
|
||||
|
||||
template <class StabilizationSettingsBankX>
|
||||
static float defaultValueForPidOption(const StabilizationSettingsBankX & bank, const QString & pidOption)
|
||||
static float defaultValueForPidOption(const StabilizationSettingsBankX *bank, const QString & pidOption)
|
||||
{
|
||||
if (pidOption == "Disabled") {
|
||||
return 0.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user