Skip to content

Commit

Permalink
Bump getGPS result buffer size in example to prevent overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdicola committed Oct 6, 2015
1 parent 895f6e6 commit 0f1b459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/FONAtest/FONAtest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ void loop() {

case 'L': {
// check for GPS location
char gpsdata[80];
fona.getGPS(0, gpsdata, 80);
char gpsdata[120];
fona.getGPS(0, gpsdata, 120);
if (type == FONA808_V1)
Serial.println(F("Reply in format: mode,longitude,latitude,altitude,utctime(yyyymmddHHMMSS),ttff,satellites,speed,course"));
else
Expand Down

0 comments on commit 0f1b459

Please sign in to comment.