diff options
author | David O'Connor <david.alan.oconnor@gmail.com> | 2020-04-23 23:15:39 -0400 |
---|---|---|
committer | David O'Connor <david.alan.oconnor@gmail.com> | 2020-04-23 23:15:39 -0400 |
commit | 6311327dfef06b8f52e0a5baebb8228986e14ff6 (patch) | |
tree | 62a29118a0cec7f2373b768683f21e5b07af417a /examples | |
parent | bc86fedbd5a299d862f8c81c2054da5b378c6c22 (diff) | |
download | ads1x1x-async-6311327dfef06b8f52e0a5baebb8228986e14ff6.tar.gz ads1x1x-async-6311327dfef06b8f52e0a5baebb8228986e14ff6.tar.xz ads1x1x-async-6311327dfef06b8f52e0a5baebb8228986e14ff6.zip |
Fixed import typo
Diffstat (limited to 'examples')
-rw-r--r-- | examples/typed.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/typed.rs b/examples/typed.rs index a5a29ca..a37a04f 100644 --- a/examples/typed.rs +++ b/examples/typed.rs @@ -2,7 +2,7 @@ // look in a type signature. #[macro_use(block)] -use nb; +extern crate nb; use embedded_hal; use embedded_hal::adc::OneShot; @@ -14,6 +14,7 @@ use ads1x1x::{ interface::I2cInterface, Ads1x1x, SlaveAddr, }; + use linux_embedded_hal::I2cdev; type Adc = Ads1x1x<I2cInterface<I2cdev>, Ads1115, Resolution16Bit, ads1x1x::mode::OneShot>; |