v2.0.15 - corrects #63
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
name=SparkFun u-blox GNSS Arduino Library
|
name=SparkFun u-blox GNSS Arduino Library
|
||||||
version=2.0.14
|
version=2.0.15
|
||||||
author=SparkFun Electronics <techsupport@sparkfun.com>
|
author=SparkFun Electronics <techsupport@sparkfun.com>
|
||||||
maintainer=SparkFun Electronics <sparkfun.com>
|
maintainer=SparkFun Electronics <sparkfun.com>
|
||||||
sentence=Library for I2C and Serial Communication with u-blox GNSS modules<br/><br/>
|
sentence=Library for I2C and Serial Communication with u-blox GNSS modules<br/><br/>
|
||||||
|
|||||||
@@ -2947,7 +2947,7 @@ sfe_ublox_status_e SFE_UBLOX_GNSS::sendI2cCommand(ubxPacket *outgoingUBX, uint16
|
|||||||
_i2cPort->beginTransmission((uint8_t)_gpsI2Caddress);
|
_i2cPort->beginTransmission((uint8_t)_gpsI2Caddress);
|
||||||
|
|
||||||
if (bytesToSend == 1) //Send the single remaining byte if there is one
|
if (bytesToSend == 1) //Send the single remaining byte if there is one
|
||||||
_i2cPort->write(outgoingUBX->payload[startSpot], 1); // Thank you @Valrakk #61
|
_i2cPort->write(outgoingUBX->payload[startSpot]); // Thank you @Valrakk #61
|
||||||
|
|
||||||
//Write checksum
|
//Write checksum
|
||||||
_i2cPort->write(outgoingUBX->checksumA);
|
_i2cPort->write(outgoingUBX->checksumA);
|
||||||
|
|||||||
Reference in New Issue
Block a user