From ee20f887b5d9119337335733c307aede7bd93078 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Mon, 30 Apr 2012 21:43:38 +0900 Subject: [PATCH] ArduCopter: fixed compile error by declaring extern print_latlon --- ArduCopter/test.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index 0b40235f8c..0dc39df279 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -36,6 +36,9 @@ static int8_t test_eedump(uint8_t argc, const Menu::arg *argv); static int8_t test_rawgps(uint8_t argc, const Menu::arg *argv); //static int8_t test_mission(uint8_t argc, const Menu::arg *argv); +// this is declared here to remove compiler errors +extern void print_latlon(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