Need to make getSensor virtual.

This commit is contained in:
Tony DiCola 2014-08-01 02:22:11 -07:00
parent 51d87322b0
commit 9af0f8ed51

View file

@ -8,7 +8,7 @@ class Adafruit_Sensor_Set
{ {
public: public:
virtual ~Adafruit_Sensor_Set() {} virtual ~Adafruit_Sensor_Set() {}
Adafruit_Sensor* getSensor(sensors_type_t type) { return NULL; } virtual Adafruit_Sensor* getSensor(sensors_type_t type) { return NULL; }
}; };
#endif #endif