Skip to content

Commit

Permalink
Add OS04A10
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Jul 17, 2024
1 parent 6863921 commit d3d3063
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,11 +673,14 @@ static int detect_omni_sensor(sensor_ctx_t *ctx, int fd,
case 0x5303:
sprintf(ctx->sensor_id, "SP4329");
return true;
case 0x5304:
sprintf(ctx->sensor_id, "OS04A10");
return true;
case 0x5305:
sprintf(ctx->sensor_id, "OS05A");
sprintf(ctx->sensor_id, "OS05A10");
return true;
case 0x5308:
sprintf(ctx->sensor_id, "OS08A");
sprintf(ctx->sensor_id, "OS08A10");
return true;
default:
break;
Expand Down

0 comments on commit d3d3063

Please sign in to comment.