mirror of https://github.com/eldruin/ds323x-rs
Remove unnecessary statements
parent
af20f0321c
commit
49f72014a7
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
//! Device configuration
|
||||
|
||||
extern crate embedded_hal as hal;
|
||||
use super::super::{BitFlags, Ds323x, Error, Register, SqWFreq};
|
||||
use interface::{ReadData, WriteData};
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
//! Device status
|
||||
|
||||
extern crate embedded_hal as hal;
|
||||
use super::super::{BitFlags, Ds323x, Error, Register};
|
||||
use interface::{ReadData, WriteData};
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
//! I2C/SPI interfaces
|
||||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate embedded_hal as hal;
|
||||
use super::{Error, DEVICE_ADDRESS};
|
||||
use hal::blocking;
|
||||
|
||||
|
|
Loading…
Reference in New Issue