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)
|
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;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue