fixed types in GPS detect code

using int everywhere is wasteful and non-portable
This commit is contained in:
Andrew Tridgell 2012-02-13 12:37:43 +11:00
parent ecdbfd257a
commit 1f05e7dafb
1 changed files with 3 additions and 3 deletions

View File

@ -97,9 +97,9 @@ GPS *
AP_GPS_Auto::_detect(void) AP_GPS_Auto::_detect(void)
{ {
unsigned long then; unsigned long then;
int fingerprint[4]; uint8_t fingerprint[4];
int tries; uint8_t tries;
int charcount; uint16_t charcount;
GPS *gps; GPS *gps;
// //