From 1bcfb7af395c241395f9a65115b00ab9b0899268 Mon Sep 17 00:00:00 2001 From: yangjiukui Date: Tue, 1 Mar 2022 19:51:46 +0800 Subject: [PATCH] sensor: Enable ambient light sensor report ir strength Signed-off-by: yangjiukui --- include/nuttx/sensors/sensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nuttx/sensors/sensor.h b/include/nuttx/sensors/sensor.h index 62781a16db..517f8e1a52 100644 --- a/include/nuttx/sensors/sensor.h +++ b/include/nuttx/sensors/sensor.h @@ -364,6 +364,7 @@ struct sensor_light /* Type: Light */ { uint64_t timestamp; /* Units is microseconds */ float light; /* in SI lux units */ + float ir; /* in SI lux units */ }; struct sensor_humi /* Type: Relative Humidity */