mirror of https://github.com/ArduPilot/ardupilot
fixed types in GPS detect code
using int everywhere is wasteful and non-portable
This commit is contained in:
parent
ecdbfd257a
commit
1f05e7dafb
|
@ -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;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue