From 9af0f8ed51b4eeac2ab93b19c20cb8151f11c75d Mon Sep 17 00:00:00 2001 From: Tony DiCola Date: Fri, 1 Aug 2014 02:22:11 -0700 Subject: [PATCH] Need to make getSensor virtual. --- Adafruit_Sensor_Set.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_Sensor_Set.h b/Adafruit_Sensor_Set.h index 763f6c3..39f2266 100644 --- a/Adafruit_Sensor_Set.h +++ b/Adafruit_Sensor_Set.h @@ -8,7 +8,7 @@ class Adafruit_Sensor_Set { public: virtual ~Adafruit_Sensor_Set() {} - Adafruit_Sensor* getSensor(sensors_type_t type) { return NULL; } + virtual Adafruit_Sensor* getSensor(sensors_type_t type) { return NULL; } }; -#endif \ No newline at end of file +#endif