summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/mode/continuous.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/mode/continuous.rs b/src/devices/mode/continuous.rs
index 0740ca2..35cfd7b 100644
--- a/src/devices/mode/continuous.rs
+++ b/src/devices/mode/continuous.rs
@@ -46,7 +46,7 @@ where
return Err(Error::NotStarted);
}
let value = self.iface.read_register(Register::CONVERSION)?;
- return Ok(CONV::convert_measurement(value));
+ Ok(CONV::convert_measurement(value))
}
}