added a little delay

This commit is contained in:
ladyada 2012-12-04 11:20:10 -05:00
parent c9356449d4
commit 195c351b1b
1 changed files with 3 additions and 1 deletions

View File

@ -243,6 +243,8 @@ void Adafruit_GPS::begin(uint16_t baud)
{
if(gpsSwSerial) gpsSwSerial->begin(baud);
else gpsHwSerial->begin(baud);
delay(10);
}
void Adafruit_GPS::sendCommand(char *str) {
@ -368,4 +370,4 @@ boolean Adafruit_GPS::wakeup(void) {
else {
return false; // Returns false if not in standby mode, nothing to wakeup
}
}
}