Need to make getSensor virtual.
This commit is contained in:
parent
51d87322b0
commit
9af0f8ed51
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue