sm7125-common: sensors: Make sensor run function virtual

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

@ -58,7 +58,7 @@ class Sensor {
Result injectEvent(const Event& event); Result injectEvent(const Event& event);
protected: protected:
void run(); virtual void run();
virtual std::vector<Event> readEvents(); virtual std::vector<Event> readEvents();
static void startThread(Sensor* sensor); static void startThread(Sensor* sensor);

Loading…
Cancel
Save