Skip to content

Commit

Permalink
more lite doxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Dec 29, 2019
1 parent 60f02da commit 83a6854
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Adafruit_BMP280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down
4 changes: 4 additions & 0 deletions Adafruit_BMP280.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand All @@ -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 *);
Expand Down

0 comments on commit 83a6854

Please sign in to comment.