From 806d8d15564d5d7303a555df71fcc3b9711edb1e Mon Sep 17 00:00:00 2001 From: Emil Angelov Date: Tue, 18 Oct 2022 17:08:44 +0300 Subject: [PATCH] Fix description comments of functions The description comments for the return types of readRawTemperature() and readRawPressure() are wrong. There is no point to add this information in the comments anyway, as it is easily visible in the function declaration. In addition it is easy to change the type and to forget to update the comment too. --- Adafruit_BMP085.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_BMP085.h b/Adafruit_BMP085.h index c9986ea..dc36415 100644 --- a/Adafruit_BMP085.h +++ b/Adafruit_BMP085.h @@ -87,12 +87,12 @@ class Adafruit_BMP085 { float readAltitude(float sealevelPressure = 101325); // std atmosphere /*! * @brief Reads the raw temperature - * @return Returns signed 16-bit integer of the raw temperature + * @return Returns the raw temperature */ uint16_t readRawTemperature(void); /*! * @brief Reads the raw pressure - * @return Returns signed 32-bit integer of the raw temperature + * @return Returns the raw pressure */ uint32_t readRawPressure(void);