sensors: Make sensor run function virtual
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user