From d3d30634f610211b05fac1bae494d80ffb00b299 Mon Sep 17 00:00:00 2001 From: viktorxda <35473052+viktorxda@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:47:33 +0200 Subject: [PATCH] Add OS04A10 --- src/sensors.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sensors.c b/src/sensors.c index cda3e39..c9b5271 100644 --- a/src/sensors.c +++ b/src/sensors.c @@ -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;