forked from donjohanliebert/hardware_xiaomi
sensors: Make sensor run function virtual
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
This commit is contained in:
parent
deca21a87d
commit
54c5a062b4
@ -58,7 +58,7 @@ class Sensor {
|
||||
Result injectEvent(const Event& event);
|
||||
|
||||
protected:
|
||||
void run();
|
||||
virtual void run();
|
||||
virtual std::vector<Event> readEvents();
|
||||
static void startThread(Sensor* sensor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user