From 83a6854aa2f1722118848aa15f9d99f907140d3e Mon Sep 17 00:00:00 2001 From: Lady Ada Date: Sun, 29 Dec 2019 02:44:29 -0500 Subject: [PATCH] more lite doxy --- Adafruit_BMP280.cpp | 2 ++ Adafruit_BMP280.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Adafruit_BMP280.cpp b/Adafruit_BMP280.cpp index 9e1fafe..c8245b6 100644 --- a/Adafruit_BMP280.cpp +++ b/Adafruit_BMP280.cpp @@ -477,6 +477,7 @@ void Adafruit_BMP280_Temp::getSensor(sensor_t *sensor) { /*! @brief Gets the temperature as a standard sensor event @param event Sensor event object that will be populated + @returns True */ /**************************************************************************/ bool Adafruit_BMP280_Temp::getEvent(sensors_event_t *event) { @@ -516,6 +517,7 @@ void Adafruit_BMP280_Pressure::getSensor(sensor_t *sensor) { /*! @brief Gets the pressure as a standard sensor event @param event Sensor event object that will be populated + @returns True */ /**************************************************************************/ bool Adafruit_BMP280_Pressure::getEvent(sensors_event_t *event) { diff --git a/Adafruit_BMP280.h b/Adafruit_BMP280.h index ac183b6..bdae31e 100644 --- a/Adafruit_BMP280.h +++ b/Adafruit_BMP280.h @@ -90,6 +90,8 @@ class Adafruit_BMP280; /** Adafruit Unified Sensor interface for temperature component of BMP280 */ class Adafruit_BMP280_Temp : public Adafruit_Sensor { public: + /** @brief Create an Adafruit_Sensor compatible object for the temp sensor + @param parent A pointer to the BMP280 class */ Adafruit_BMP280_Temp(Adafruit_BMP280 *parent) { _theBMP280 = parent; } bool getEvent(sensors_event_t *); void getSensor(sensor_t *); @@ -102,6 +104,8 @@ class Adafruit_BMP280_Temp : public Adafruit_Sensor { /** Adafruit Unified Sensor interface for pressure component of BMP280 */ class Adafruit_BMP280_Pressure : public Adafruit_Sensor { public: + /** @brief Create an Adafruit_Sensor compatible object for the pressure sensor + @param parent A pointer to the BMP280 class */ Adafruit_BMP280_Pressure(Adafruit_BMP280 *parent) { _theBMP280 = parent; } bool getEvent(sensors_event_t *); void getSensor(sensor_t *);