diff --git a/sachy-shtc3/src/lib.rs b/sachy-shtc3/src/lib.rs index 8cb9750..b8edc87 100644 --- a/sachy-shtc3/src/lib.rs +++ b/sachy-shtc3/src/lib.rs @@ -418,11 +418,10 @@ where /// This is an async function call. pub async fn measure_async( &mut self, - mode: PowerMode, delay: &mut impl DelayNs, ) -> Result> { self.send_command_async(Command::Measure { - power_mode: mode, + power_mode: self.mode, order: MeasurementOrder::TemperatureFirst, }) .await?;