diff --git a/src/vl53l4cd_class.h b/src/vl53l4cd_class.h index ab04f4b..ef98396 100644 --- a/src/vl53l4cd_class.h +++ b/src/vl53l4cd_class.h @@ -130,7 +130,7 @@ class VL53L4CD { status = VL53L4CD_GetSensorId(&sensor_id); - if (status != VL53L4CD_ERROR_NONE || (sensor_id != 0xebaa)) { + if (status != VL53L4CD_ERROR_NONE || ((sensor_id != 0xebaa) && (sensor_id != 0xecaa))) { return VL53L4CD_ERROR_TIMEOUT; }