From ce3ee97e738c7679dcf1f9c1221e329864b0211c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Apr 2013 13:57:45 +1000 Subject: [PATCH] Copter: removed duplicate print_latlon() declarations --- ArduCopter/Log.pde | 1 - ArduCopter/test.pde | 3 --- 2 files changed, 4 deletions(-) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index dc3ff7866a..e4d414eed0 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -849,7 +849,6 @@ static void start_logging() #else // LOGGING_ENABLED -void print_latlon(AP_HAL::BetterStream *s, int32_t lat_or_lon) {} static void Log_Write_Startup() {} static void Log_Write_Cmd(uint8_t num, const struct Location *wp) {} static void Log_Write_Mode(uint8_t mode) {} diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index fe97c107fe..92a363c9ad 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -39,9 +39,6 @@ static int8_t test_eedump(uint8_t argc, const Menu::arg *argv); static int8_t test_shell(uint8_t argc, const Menu::arg *argv); #endif -// this is declared here to remove compiler errors -extern void print_latlon(AP_HAL::BetterStream *s, int32_t lat_or_lon); // in Log.pde - // This is the help function // PSTR is an AVR macro to read strings from flash memory // printf_P is a version of printf that reads from flash memory