summaryrefslogtreecommitdiff
path: root/tilt/SensorBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tilt/SensorBase.cpp')
-rw-r--r--tilt/SensorBase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tilt/SensorBase.cpp b/tilt/SensorBase.cpp
index 0106ec3..c90a948 100644
--- a/tilt/SensorBase.cpp
+++ b/tilt/SensorBase.cpp
@@ -143,6 +143,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)
{