tangled
alpha
login
or
join now
sachy.dev
/
sachy-embed-core
0
fork
atom
Repo of no-std crates for my personal embedded projects
0
fork
atom
overview
issues
pulls
pipelines
Fix measure_async method signature
sachy.dev
3 months ago
24c6e605
da0ffed8
+1
-2
1 changed file
expand all
collapse all
unified
split
sachy-shtc3
src
lib.rs
+1
-2
sachy-shtc3/src/lib.rs
···
418
418
/// This is an async function call.
419
419
pub async fn measure_async(
420
420
&mut self,
421
421
-
mode: PowerMode,
422
421
delay: &mut impl DelayNs,
423
422
) -> Result<Measurement, Error<I2C::Error>> {
424
423
self.send_command_async(Command::Measure {
425
425
-
power_mode: mode,
424
424
+
power_mode: self.mode,
426
425
order: MeasurementOrder::TemperatureFirst,
427
426
})
428
427
.await?;