sensors: Make sensor flush function virtual

Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
This commit is contained in:
Cosmin Tanislav 2022-02-17 01:06:04 +02:00 committed by Bruno Martins
parent 54c5a062b4
commit b4ec0abb94

View File

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