Browse Source

Copter: removed duplicate print_latlon() declarations

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
ce3ee97e73
  1. 1
      ArduCopter/Log.pde
  2. 3
      ArduCopter/test.pde

1
ArduCopter/Log.pde

@ -849,7 +849,6 @@ static void start_logging() @@ -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) {}

3
ArduCopter/test.pde

@ -39,9 +39,6 @@ static int8_t test_eedump(uint8_t argc, const Menu::arg *argv); @@ -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

Loading…
Cancel
Save