diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 08:24:36 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 08:24:36 +0100 |
commit | 608c7218e7dd39abacc5c91b2f604f986a3d5179 (patch) | |
tree | 3bcc15a05c53bf8da1e2bd8ce9cbac63d964bbd6 /src | |
parent | 73f17b5c30ee588aff30fe290b750721f311b198 (diff) | |
download | ads1x1x-async-608c7218e7dd39abacc5c91b2f604f986a3d5179.tar.gz ads1x1x-async-608c7218e7dd39abacc5c91b2f604f986a3d5179.tar.xz ads1x1x-async-608c7218e7dd39abacc5c91b2f604f986a3d5179.zip |
Fix logic
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |