fixed types in GPS detect code

using int everywhere is wasteful and non-portable
This commit is contained in:
Andrew Tridgell
2012-02-13 16:22:53 +11:00
parent ecdbfd257a
commit 1f05e7dafb
+3 -3
View File
@@ -97,9 +97,9 @@ GPS *
AP_GPS_Auto::_detect(void)
{
unsigned long then;
int fingerprint[4];
int tries;
int charcount;
uint8_t fingerprint[4];
uint8_t tries;
uint16_t charcount;
GPS *gps;
//