Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 946ef68

Browse files
committed
Adding a missing endTransmission(false)
1 parent b7e7d8a commit 946ef68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/SparkFun_Ublox_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ sfe_ublox_status_e SFE_UBLOX_GPS::sendI2cCommand(ubxPacket *outgoingUBX, uint16_
11901190
//Point at 0xFF data register
11911191
_i2cPort->beginTransmission((uint8_t)_gpsI2Caddress); //There is no register to write to, we just begin writing data bytes
11921192
_i2cPort->write(0xFF);
1193-
if (_i2cPort->endTransmission() != 0) //Don't release bus
1193+
if (_i2cPort->endTransmission(false) != 0) //Don't release bus
11941194
return (SFE_UBLOX_STATUS_I2C_COMM_FAILURE); //Sensor did not ACK
11951195

11961196
//Write header bytes

0 commit comments

Comments
 (0)