summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ab42105..b665109 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -147,7 +147,7 @@
//! let adc = Ads1x1x::new_ads1013(dev, address);
//! let mut adc = adc.into_continuous().unwrap();
//! adc.start().unwrap();
-//! while(!adc.is_measurement_in_progress().unwrap()) {
+//! while(adc.is_measurement_in_progress().unwrap()) {
//! // some delay...
//! }
//! let measurement = adc.read().unwrap();