Skip to content

Commit 91bf351

Browse files
committed
Add OS03A10
1 parent d3d3063 commit 91bf351

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sensors.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,10 @@ static int detect_omni_sensor(sensor_ctx_t *ctx, int fd,
671671
sprintf(ctx->sensor_id, "OV4689");
672672
return true;
673673
case 0x5303:
674-
sprintf(ctx->sensor_id, "SP4329");
674+
if (strstr(getchipvendor(), VENDOR_SSTAR))
675+
sprintf(ctx->sensor_id, "OS03A10");
676+
else
677+
sprintf(ctx->sensor_id, "SP4329");
675678
return true;
676679
case 0x5304:
677680
sprintf(ctx->sensor_id, "OS04A10");

0 commit comments

Comments
 (0)