From a24d7d4b8b933cf994acd9063b5ea75f72b1e82e Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Sun, 15 Mar 2015 09:09:14 +0100 Subject: [PATCH] Added bool return type to getEvent --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0680286..135c60d 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ It includes the following fields: In addition to the two standard types and the sensor type enum, all drivers based on Adafruit_Sensor must also implement the following two functions: ``` -void getEvent(sensors_event_t*); +bool getEvent(sensors_event_t*); ``` Calling this function will populate the supplied sensors\_event\_t reference with the latest available sensor data. You should call this function as often as you want to update your data.