From 2c9ebf11b833a23689051f5a5953beccee78ff2a Mon Sep 17 00:00:00 2001 From: Jason Short Date: Wed, 9 Nov 2011 23:28:50 -0800 Subject: [PATCH] removed unused functions, log fix --- ArduCopter/Log.pde | 3 ++- ArduCopter/commands.pde | 4 ++-- ArduCopter/test.pde | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index 63afbe71b7..72bd1fe647 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -779,7 +779,8 @@ static void Log_Read_Performance() temp2, temp3, temp4, - temp5); + temp5, + temp6); } // Write a command processing packet. diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index a376c18412..6fc37e2f1b 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -129,7 +129,7 @@ static int32_t read_alt_to_hold() // It's not currently used //******************************************************************************** -static Location get_LOITER_home_wp() +/*static Location get_LOITER_home_wp() { //so we know where we are navigating from next_WP = current_loc; @@ -140,7 +140,7 @@ static Location get_LOITER_home_wp() temp.alt = read_alt_to_hold(); return temp; } - +*/ /* This function sets the next waypoint command It precalculates all the necessary stuff. diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index cb49360f8f..4fd0818f68 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -1037,7 +1037,7 @@ static void fake_out_gps() } */ - +/* static void print_motor_out(){ Serial.printf("out: R: %d, L: %d F: %d B: %d\n", (motor_out[CH_1] - g.rc_3.radio_min), @@ -1045,5 +1045,5 @@ static void print_motor_out(){ (motor_out[CH_3] - g.rc_3.radio_min), (motor_out[CH_4] - g.rc_3.radio_min)); } - +*/ #endif // CLI_ENABLED