diff options
Diffstat (limited to 'src/devices/mode/continuous.rs')
-rw-r--r-- | src/devices/mode/continuous.rs | 2 |
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)) } } |