Skip to content

Commit

Permalink
Add OS03A10
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Jul 30, 2024
1 parent d3d3063 commit 91bf351
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,10 @@ static int detect_omni_sensor(sensor_ctx_t *ctx, int fd,
sprintf(ctx->sensor_id, "OV4689");
return true;
case 0x5303:
sprintf(ctx->sensor_id, "SP4329");
if (strstr(getchipvendor(), VENDOR_SSTAR))
sprintf(ctx->sensor_id, "OS03A10");
else
sprintf(ctx->sensor_id, "SP4329");
return true;
case 0x5304:
sprintf(ctx->sensor_id, "OS04A10");
Expand Down

0 comments on commit 91bf351

Please sign in to comment.