Skip to content

Commit d3e9f3d

Browse files
authored
Add CV2005
1 parent dc23b55 commit d3e9f3d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sensors.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,9 @@ static int detect_cvsens_sensor(sensor_ctx_t *ctx, int fd,
10451045
case 0x2004:
10461046
sprintf(ctx->sensor_id, "CV2003");
10471047
return true;
1048+
case 0x2005:
1049+
sprintf(ctx->sensor_id, "CV%04x", res);
1050+
return true;
10481051
default:
10491052
SENSOR_ERR("CVSENS", res);
10501053
return false;

0 commit comments

Comments
 (0)