Skip to content

Commit 94d0162

Browse files
committed
Add alternate sensor ID 0xEAAA
1 parent 87f8575 commit 94d0162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/SparkFun_VL53L1X.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ bool SFEVL53L1X::checkID()
6060
{
6161
uint16_t sensorId;
6262
_device->VL53L1X_GetSensorId(&sensorId);
63-
if ((sensorId == 0xEACC) || (sensorId == 0xEBAA))
63+
if ((sensorId == 0xEACC) || (sensorId == 0xEBAA) || (sensorId == 0xEAAA))
6464
return true;
6565
return false;
6666
}

0 commit comments

Comments
 (0)