mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: small bug fix to radio.pde to allow code to compile when MOUNT == DISABLED
This commit is contained in:
parent
b691c3f658
commit
33d8cbfd51
|
@ -42,7 +42,10 @@ static void init_rc_in()
|
||||||
g.rc_6.set_range(0,1000);
|
g.rc_6.set_range(0,1000);
|
||||||
g.rc_7.set_range(0,1000);
|
g.rc_7.set_range(0,1000);
|
||||||
g.rc_8.set_range(0,1000);
|
g.rc_8.set_range(0,1000);
|
||||||
|
|
||||||
|
#if MOUNT == ENABLED
|
||||||
update_aux_servo_function(&g.rc_camera_roll, &g.rc_camera_pitch, &g.rc_camera_yaw);
|
update_aux_servo_function(&g.rc_camera_roll, &g.rc_camera_pitch, &g.rc_camera_yaw);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init_rc_out()
|
static void init_rc_out()
|
||||||
|
|
Loading…
Reference in New Issue