fix read sensor data example
This commit is contained in:
parent
cd6f7a34cd
commit
6a26ba4397
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ fn main() -> Result<(), anyhow::Error> {
|
|||
let profile_dur = dev.get_profile_duration(&settings.0)?;
|
||||
info!("Profile duration {:?}", profile_dur);
|
||||
info!("Setting sensor settings");
|
||||
dev.set_sensor_settings(&mut delayer, settings)?;
|
||||
dev.set_sensor_settings(&mut delayer, &settings)?;
|
||||
info!("Setting forced power modes");
|
||||
dev.set_sensor_mode(&mut delayer, PowerMode::ForcedMode)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue