Skip to content

Commit

Permalink
Update sensors.c (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Jan 14, 2024
1 parent 03e165b commit 102f52a
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 @@ -523,8 +523,11 @@ static int detect_smartsens_sensor(sensor_ctx_t *ctx, int fd,
res = 0x2335;
break;
case 0xcb17:
res = 0x2232;
break;
if (strstr(getchipvendor(), VENDOR_INGENIC))
strcpy(ctx->sensor_id, "SC2332");
else
strcpy(ctx->sensor_id, "SC2232");
return true;
case 0xcb1c:
if (strstr(getchipvendor(), VENDOR_SSTAR))
strcpy(ctx->sensor_id, "SC200AI");
Expand Down

0 comments on commit 102f52a

Please sign in to comment.