Skip to content

Commit

Permalink
Add SC2331
Browse files Browse the repository at this point in the history
  • Loading branch information
dimerr committed May 2, 2024
1 parent 9c5286b commit 9f76227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ static int detect_smartsens_sensor(sensor_ctx_t *ctx, int fd,
case 0xcb14:
res = 0x2335;
break;
case 0xcb5c:
strcpy(ctx->sensor_id, "SC2331");
return true;
case 0xcb17:
if (strstr(getchipvendor(), VENDOR_INGENIC))
strcpy(ctx->sensor_id, "SC2332");
Expand Down

0 comments on commit 9f76227

Please sign in to comment.