sm7125-common: sensors: Make sensor flush function virtual

Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
fourteen-wip
Cosmin Tanislav 3 years ago committed by Simon1511
parent 501a23f674
commit 533dd037bc
  1. 2
      sensors/Sensor.h

@ -51,7 +51,7 @@ class Sensor {
const SensorInfo& getSensorInfo() const; const SensorInfo& getSensorInfo() const;
virtual void batch(int32_t samplingPeriodNs); virtual void batch(int32_t samplingPeriodNs);
virtual void activate(bool enable); virtual void activate(bool enable);
Result flush(); virtual Result flush();
void setOperationMode(OperationMode mode); void setOperationMode(OperationMode mode);
bool supportsDataInjection() const; bool supportsDataInjection() const;

Loading…
Cancel
Save