Smaller fixes

This commit is contained in:
dario
2024-05-30 10:54:07 +02:00
parent 6403df9561
commit 37a46c7d87
2 changed files with 2 additions and 11 deletions

View File

@@ -132,8 +132,6 @@ namespace sta
*/
bool init();
void delay();
/**
* @brief Set the oversampling rate.
*
@@ -145,16 +143,14 @@ namespace sta
* @brief Reads the current pressure value from the sensor. Obtains the temperature value from the interal sensor.
*
* @param unit Specifies the unit for the pressure measurement. Default is hPa.
* @param cachedTemp Specifies if a cached temperature value should be used.
* @return int32_t The measured value in the specified unit.
* @return float The measured value in the specified unit.
*/
float getPressure(Unit unit = Unit::hPa);
/**
* @brief Reads the current temperature value from the sensor.
*
* @return int32_t The measured temperature.
* @note There are better sensors for temperature measurements than the MS56xx.
* @return float The measured temperature.
*/
float getTemperature();