Merge branch 'MrMoose-master'
This commit is contained in:
commit
23b4d1a46e
|
|
@ -258,7 +258,7 @@ void Adafruit_GPS::begin(uint16_t baud)
|
||||||
delay(10);
|
delay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Adafruit_GPS::sendCommand(char *str) {
|
void Adafruit_GPS::sendCommand(const char *str) {
|
||||||
#ifdef __AVR__
|
#ifdef __AVR__
|
||||||
if(gpsSwSerial)
|
if(gpsSwSerial)
|
||||||
gpsSwSerial->println(str);
|
gpsSwSerial->println(str);
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,9 @@ class Adafruit_GPS {
|
||||||
char *lastNMEA(void);
|
char *lastNMEA(void);
|
||||||
boolean newNMEAreceived();
|
boolean newNMEAreceived();
|
||||||
void common_init(void);
|
void common_init(void);
|
||||||
void sendCommand(char *);
|
|
||||||
|
void sendCommand(const char *);
|
||||||
|
|
||||||
void pause(boolean b);
|
void pause(boolean b);
|
||||||
|
|
||||||
boolean parseNMEA(char *response);
|
boolean parseNMEA(char *response);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue