1
0
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:
Stefan Karlsson 2014-08-01 10:50:52 +02:00
parent f9343d9959
commit 04d9d3191d

View File

@ -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;