AP_GPS: fix missing-declaration warning in example

This commit is contained in:
Peter Barker 2019-05-28 12:17:57 +10:00 committed by Andrew Tridgell
parent 9ee0befb38
commit 73c81519da

View File

@ -65,6 +65,7 @@ void setup()
/* /*
print a int32_t lat/long in decimal degrees print a int32_t lat/long in decimal degrees
*/ */
void print_latlon(AP_HAL::BetterStream *s, int32_t lat_or_lon);
void print_latlon(AP_HAL::BetterStream *s, int32_t lat_or_lon) void print_latlon(AP_HAL::BetterStream *s, int32_t lat_or_lon)
{ {
int32_t dec_portion, frac_portion; int32_t dec_portion, frac_portion;