diff options
Diffstat (limited to 'core/sensor.c')
-rw-r--r-- | core/sensor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/sensor.c b/core/sensor.c index cc5341c..b0d3c5e 100644 --- a/core/sensor.c +++ b/core/sensor.c @@ -29,6 +29,10 @@ static int64_t opal_sensor_read(uint32_t sensor_hndl, int token, switch (sensor_get_family(sensor_hndl)) { case SENSOR_DTS: return dts_sensor_read(sensor_hndl, sensor_data); + case SENSOR_OCC: + return occ_sensor_read(sensor_hndl, sensor_data); + default: + break; } if (platform.sensor_read) |