summaryrefslogtreecommitdiffstats
path: root/src/devices/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/common.rs')
-rw-r--r--src/devices/common.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/common.rs b/src/devices/common.rs
index 53cb050..66a6d97 100644
--- a/src/devices/common.rs
+++ b/src/devices/common.rs
@@ -1,4 +1,4 @@
-//! Common functions
+//! Common functions.
use crate::{devices::OperatingMode, Ads1x1x, BitFlags, Config, Error, Register};
@@ -30,7 +30,7 @@ where
Ok(())
}
- /// Read whether a measurement is currently in progress.
+ /// Checks whether a measurement is currently in progress.
pub fn is_measurement_in_progress(&mut self) -> Result<bool, Error<E>> {
let config = Config {
bits: self.read_register(Register::CONFIG)?,