Skip to content

Commit b524dfc

Browse files
missing equal sign in comparison
1 parent 2b6bc1e commit b524dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/I2CFirmata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void I2CFirmata::handleI2CRequest(byte argc, byte *argv)
173173
// determine which device to stop reading and remove it's data from
174174
// the array, shifiting other array data to fill the space
175175
for (byte i = 0; i < queryIndex + 1; i++) {
176-
if (query[i].addr = slaveAddress) {
176+
if (query[i].addr == slaveAddress) {
177177
queryIndexToSkip = i;
178178
break;
179179
}

0 commit comments

Comments
 (0)