Import crate in module

pull/4/head
Diego Barrios Romero 2018-11-16 19:30:35 +01:00
parent 96168aa696
commit 729a4c92e7
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
extern crate embedded_hal;
extern crate ds323x;
use self::ds323x::{ Ds323x, interface, ic };
use hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
use hal::spi::{ Mock as SpiMock, Transaction as SpiTrans };
extern crate embedded_hal_mock as hal;
use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
use self::hal::spi::{ Mock as SpiMock, Transaction as SpiTrans };
pub const DEVICE_ADDRESS : u8 = 0b110_1000;
#[allow(unused)]