From 33d8cbfd5118271689a53c08d1334d60aa4d4cae Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Wed, 18 Jul 2012 23:49:41 +0900 Subject: [PATCH] ArduCopter: small bug fix to radio.pde to allow code to compile when MOUNT == DISABLED --- ArduCopter/radio.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/radio.pde b/ArduCopter/radio.pde index 889719028e..5a40a685bd 100644 --- a/ArduCopter/radio.pde +++ b/ArduCopter/radio.pde @@ -42,7 +42,10 @@ static void init_rc_in() g.rc_6.set_range(0,1000); g.rc_7.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); + #endif } static void init_rc_out()