Skip to content
Snippets Groups Projects
Commit 9723e52a authored by Jason Short's avatar Jason Short
Browse files

using current PWM rather than a re-read of the PWM.

parent 5ce93faf
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ camera_stabilization()
// -----
// Allow user to control camera pitch with channel 6 (mixed with pitch DCM)
if(g.radio_tuning == 0) {
g.rc_camera_pitch.set_pwm(APM_RC.InputCh(CH_6));
g.rc_camera_pitch.set_pwm(g.rc_6.radio_in);
g.rc_camera_pitch.servo_out = g.rc_camera_pitch.control_mix(ahrs.pitch_sensor);
}else{
// unless channel 6 is already being used for tuning
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment