1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Don't zero the PIDs when the settings are updated. Fixes some quirks from

using TxPID tuning.
This commit is contained in:
James Cotton 2012-07-03 14:17:57 +02:00
parent 534d559501
commit 4afd9d110e

View File

@ -444,7 +444,6 @@ static float bound(float val)
static void SettingsUpdatedCb(UAVObjEvent * ev)
{
memset(pids,0,sizeof (pid_type) * PID_MAX);
StabilizationSettingsGet(&settings);
// Set the roll rate PID constants