From a06f8a156d1471ee7ebf6daa745b02e6bdb918d6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 19 Aug 2013 21:12:41 +1000 Subject: [PATCH] Copter: fixed PX4 build --- ArduCopter/Log.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index bb545a4b3f..08a7001bed 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -335,7 +335,7 @@ static void Log_Write_Control_Tuning() sonar_alt : sonar_alt, baro_alt : baro_alt, next_wp_alt : get_target_alt_for_reporting() / 100.0f, - desired_sonar_alt : target_sonar_alt, + desired_sonar_alt : (int16_t)target_sonar_alt, angle_boost : angle_boost, climb_rate : climb_rate, throttle_out : g.rc_3.servo_out,