mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 07:50:05 +00:00
dubai: sensors: Make sensor batch function virtual
Change-Id: I2de1e919234c4893b0b70390c0189cae38dbbe6c
This commit is contained in:
committed by
SGCMarkus
parent
4ad61e47c5
commit
baf302a21a
@@ -49,7 +49,7 @@ class Sensor {
|
|||||||
virtual ~Sensor();
|
virtual ~Sensor();
|
||||||
|
|
||||||
const SensorInfo& getSensorInfo() const;
|
const SensorInfo& getSensorInfo() const;
|
||||||
void batch(int32_t samplingPeriodNs);
|
virtual void batch(int32_t samplingPeriodNs);
|
||||||
virtual void activate(bool enable);
|
virtual void activate(bool enable);
|
||||||
Result flush();
|
Result flush();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user