Remove unnecessary statements

pull/4/head
Diego Barrios Romero 2019-05-16 19:24:13 +02:00
parent af20f0321c
commit 49f72014a7
8 changed files with 0 additions and 11 deletions

View File

@ -1,6 +1,5 @@
//! Functions exclusive of DS3231
extern crate embedded_hal as hal;
use super::{ic, BitFlags, Ds323x, CONTROL_POR_VALUE};
use core::marker::PhantomData;
use hal::blocking;

View File

@ -1,6 +1,5 @@
//! Functions exclusive of DS3232
extern crate embedded_hal as hal;
use super::{ic, BitFlags, Ds323x, Error, TempConvRate, CONTROL_POR_VALUE};
use core::marker::PhantomData;
use hal::blocking;

View File

@ -1,6 +1,4 @@
//! Functions exclusive of DS3234
extern crate embedded_hal as hal;
use super::{ic, BitFlags, Ds323x, Error, Register, TempConvRate, CONTROL_POR_VALUE};
use core::marker::PhantomData;
use hal::blocking;

View File

@ -1,6 +1,5 @@
//! Alarm support
extern crate embedded_hal as hal;
use super::super::{BitFlags, Ds323x, Error, Hours, Register};
use super::{decimal_to_packed_bcd, hours_to_register};
use interface::{ReadData, WriteData};

View File

@ -1,6 +1,5 @@
//! Device configuration
extern crate embedded_hal as hal;
use super::super::{BitFlags, Ds323x, Error, Register, SqWFreq};
use interface::{ReadData, WriteData};

View File

@ -1,6 +1,5 @@
//! Common implementation
extern crate embedded_hal as hal;
use super::super::{BitFlags, Ds323x, Error, Register};
use super::{decimal_to_packed_bcd, hours_to_register, packed_bcd_to_decimal};
use interface::{ReadData, WriteData};

View File

@ -1,6 +1,5 @@
//! Device status
extern crate embedded_hal as hal;
use super::super::{BitFlags, Ds323x, Error, Register};
use interface::{ReadData, WriteData};

View File

@ -1,8 +1,5 @@
//! I2C/SPI interfaces
#![deny(missing_docs)]
extern crate embedded_hal as hal;
use super::{Error, DEVICE_ADDRESS};
use hal::blocking;