summaryrefslogtreecommitdiff
path: root/als/SensorBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'als/SensorBase.cpp')
-rw-r--r--als/SensorBase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/als/SensorBase.cpp b/als/SensorBase.cpp
index 5cdf7cf..d8cfc43 100644
--- a/als/SensorBase.cpp
+++ b/als/SensorBase.cpp
@@ -144,6 +144,12 @@ int SensorBase::enable(int32_t /* handle */, int /* enabled */)
return 0;
}
+int SensorBase::isActivated(int /* handle */)
+{
+ FUNC_LOG;
+ return 0;
+}
+
#ifdef HAL_VERSION_GT_1_0
int SensorBase::batch(int /* handle */, int /* flags */, int64_t /* period_ns */, int64_t /* timeout */)
{