Merge pull request #4 from georgeharker/master

allow events to fail
This commit is contained in:
Kevin Townsend 2015-03-09 09:05:07 +01:00
commit d958443c39
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Adafruit_Sensor {
// These must be defined by the subclass
virtual void enableAutoRange(bool enabled) {};
virtual void getEvent(sensors_event_t*);
virtual bool getEvent(sensors_event_t*);
virtual void getSensor(sensor_t*);
private: