Skip to content

Commit 7514c0e

Browse files
author
Nathan Seidle
committed
Add return value to function
1 parent 29c46f8 commit 7514c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_I2C_GPS_Arduino_Library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ String I2CGPS::calcCRCforMTK(String sentence)
228228

229229
boolean I2CGPS::sendPGCMDpacket(String command)
230230
{
231-
sendMTKpacket(command); // Send process is the same, re-named to ease user's minds
231+
return (sendMTKpacket(command)); // Send process is the same, re-named to ease user's minds
232232
}
233233

234234
String I2CGPS::createPGCMDpacket(uint16_t packetType, String dataField)

0 commit comments

Comments
 (0)