From b3c01195892624f7474d78b85927541238d2a6f9 Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Thu, 17 Feb 2022 01:04:44 +0200 Subject: [PATCH] sm7125-common: sensors: Make sensor run function virtual Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742 --- sensors/Sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/Sensor.h b/sensors/Sensor.h index 6643083..8a7153a 100644 --- a/sensors/Sensor.h +++ b/sensors/Sensor.h @@ -58,7 +58,7 @@ class Sensor { Result injectEvent(const Event& event); protected: - void run(); + virtual void run(); virtual std::vector readEvents(); static void startThread(Sensor* sensor);