Repo of no-std crates for my personal embedded projects

Fix measure_async method signature

+1 -2
+1 -2
sachy-shtc3/src/lib.rs
··· 418 /// This is an async function call. 419 pub async fn measure_async( 420 &mut self, 421 - mode: PowerMode, 422 delay: &mut impl DelayNs, 423 ) -> Result<Measurement, Error<I2C::Error>> { 424 self.send_command_async(Command::Measure { 425 - power_mode: mode, 426 order: MeasurementOrder::TemperatureFirst, 427 }) 428 .await?;
··· 418 /// This is an async function call. 419 pub async fn measure_async( 420 &mut self, 421 delay: &mut impl DelayNs, 422 ) -> Result<Measurement, Error<I2C::Error>> { 423 self.send_command_async(Command::Measure { 424 + power_mode: self.mode, 425 order: MeasurementOrder::TemperatureFirst, 426 }) 427 .await?;