From 6311327dfef06b8f52e0a5baebb8228986e14ff6 Mon Sep 17 00:00:00 2001 From: David O'Connor Date: Thu, 23 Apr 2020 23:15:39 -0400 Subject: Fixed import typo --- examples/typed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') 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, Ads1115, Resolution16Bit, ads1x1x::mode::OneShot>; -- cgit v1.2.3-54-g00ecf