ArduCopter: small bug fix to radio.pde to allow code to compile when MOUNT == DISABLED

This commit is contained in:
rmackay9 2012-07-18 23:49:41 +09:00
parent b691c3f658
commit 33d8cbfd51
1 changed files with 3 additions and 0 deletions

View File

@ -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()