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:
parent
534d559501
commit
4afd9d110e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user