allow uin32_t bauds https://github.com/adafruit/Adafruit_GPS/issues/42
This commit is contained in:
parent
69f4e8cff7
commit
614f4df905
|
|
@ -350,7 +350,7 @@ void Adafruit_GPS::common_init(void) {
|
||||||
speed = angle = magvariation = HDOP = 0.0; // float
|
speed = angle = magvariation = HDOP = 0.0; // float
|
||||||
}
|
}
|
||||||
|
|
||||||
void Adafruit_GPS::begin(uint16_t baud)
|
void Adafruit_GPS::begin(uint32_t baud)
|
||||||
{
|
{
|
||||||
#ifdef __AVR__
|
#ifdef __AVR__
|
||||||
if(gpsSwSerial)
|
if(gpsSwSerial)
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ All text above must be included in any redistribution
|
||||||
|
|
||||||
class Adafruit_GPS {
|
class Adafruit_GPS {
|
||||||
public:
|
public:
|
||||||
void begin(uint16_t baud);
|
void begin(uint32_t baud);
|
||||||
|
|
||||||
#ifdef __AVR__
|
#ifdef __AVR__
|
||||||
#if ARDUINO >= 100
|
#if ARDUINO >= 100
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue