forked from donjohanliebert/hardware_xiaomi
sensors: Make sensor batch function virtual
Change-Id: I2de1e919234c4893b0b70390c0189cae38dbbe6c
This commit is contained in:
parent
649fca1354
commit
deca21a87d
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user