mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
Copter: correct compilation when SYSTEMID mode is disabled
This commit is contained in:
parent
195dc50d71
commit
4fbd4168b0
@ -228,10 +228,10 @@ void Copter::tuning()
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MODE_SYSTEMID_ENABLED == ENABLED
|
|
||||||
case TUNING_SYSTEM_ID_MAGNITUDE:
|
case TUNING_SYSTEM_ID_MAGNITUDE:
|
||||||
|
#if MODE_SYSTEMID_ENABLED == ENABLED
|
||||||
copter.mode_systemid.set_magnitude(tuning_value);
|
copter.mode_systemid.set_magnitude(tuning_value);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user