mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-ms56xx.git
synced 2025-08-06 13:27:34 +00:00
Smaller fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user