diff --git a/sensors/Sensor.h b/sensors/Sensor.h index 7923820..6643083 100644 --- a/sensors/Sensor.h +++ b/sensors/Sensor.h @@ -49,7 +49,7 @@ class Sensor { virtual ~Sensor(); const SensorInfo& getSensorInfo() const; - void batch(int32_t samplingPeriodNs); + virtual void batch(int32_t samplingPeriodNs); virtual void activate(bool enable); Result flush();