From 516a47c9eb771881313c69e5d069bc19eda7a67c Mon Sep 17 00:00:00 2001 From: dario Date: Thu, 16 May 2024 20:41:38 +0200 Subject: [PATCH] forgot to add that --- include/sta/drivers/MS56xx.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/sta/drivers/MS56xx.hpp b/include/sta/drivers/MS56xx.hpp index e34662e..701a4ee 100644 --- a/include/sta/drivers/MS56xx.hpp +++ b/include/sta/drivers/MS56xx.hpp @@ -122,6 +122,16 @@ namespace sta */ void setOsr(OsrLevel osr); + /** + * @brief + * + * @param type + * @param blocking + */ + void requestData(DataType type, bool blocking = false); + + bool hasData(DataType type); + /** * @brief Reads the current pressure value from the sensor. Obtains the temperature value from the interal sensor. *