mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
ACM : Fix for reloading the user DCM gains upon arming
This commit is contained in:
parent
0a25a189eb
commit
575a9c4fd1
@ -158,6 +158,10 @@ static void init_arm_motors()
|
|||||||
// temp hack
|
// temp hack
|
||||||
motor_light = true;
|
motor_light = true;
|
||||||
digitalWrite(A_LED_PIN, LED_ON);
|
digitalWrite(A_LED_PIN, LED_ON);
|
||||||
|
|
||||||
|
// revert back to user default
|
||||||
|
ahrs._kp.load();
|
||||||
|
ahrs._kp_yaw.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user