berlna: sensors: Make sensor run function virtual

Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
This commit is contained in:
Cosmin Tanislav 2022-02-17 01:04:44 +02:00 committed by Andrew Hexen
parent fe4ad452f3
commit 1adc6cd0c0
No known key found for this signature in database
GPG key ID: 8A690B4B0CD461A2

View file

@ -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);