mirror of https://github.com/eldruin/ds323x-rs
Remove unnecessary statements
parent
af20f0321c
commit
49f72014a7
|
@ -1,6 +1,5 @@
|
||||||
//! Functions exclusive of DS3231
|
//! Functions exclusive of DS3231
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::{ic, BitFlags, Ds323x, CONTROL_POR_VALUE};
|
use super::{ic, BitFlags, Ds323x, CONTROL_POR_VALUE};
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use hal::blocking;
|
use hal::blocking;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Functions exclusive of DS3232
|
//! Functions exclusive of DS3232
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::{ic, BitFlags, Ds323x, Error, TempConvRate, CONTROL_POR_VALUE};
|
use super::{ic, BitFlags, Ds323x, Error, TempConvRate, CONTROL_POR_VALUE};
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use hal::blocking;
|
use hal::blocking;
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
//! Functions exclusive of DS3234
|
//! Functions exclusive of DS3234
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::{ic, BitFlags, Ds323x, Error, Register, TempConvRate, CONTROL_POR_VALUE};
|
use super::{ic, BitFlags, Ds323x, Error, Register, TempConvRate, CONTROL_POR_VALUE};
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use hal::blocking;
|
use hal::blocking;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Alarm support
|
//! Alarm support
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::super::{BitFlags, Ds323x, Error, Hours, Register};
|
use super::super::{BitFlags, Ds323x, Error, Hours, Register};
|
||||||
use super::{decimal_to_packed_bcd, hours_to_register};
|
use super::{decimal_to_packed_bcd, hours_to_register};
|
||||||
use interface::{ReadData, WriteData};
|
use interface::{ReadData, WriteData};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Device configuration
|
//! Device configuration
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::super::{BitFlags, Ds323x, Error, Register, SqWFreq};
|
use super::super::{BitFlags, Ds323x, Error, Register, SqWFreq};
|
||||||
use interface::{ReadData, WriteData};
|
use interface::{ReadData, WriteData};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Common implementation
|
//! Common implementation
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::super::{BitFlags, Ds323x, Error, Register};
|
use super::super::{BitFlags, Ds323x, Error, Register};
|
||||||
use super::{decimal_to_packed_bcd, hours_to_register, packed_bcd_to_decimal};
|
use super::{decimal_to_packed_bcd, hours_to_register, packed_bcd_to_decimal};
|
||||||
use interface::{ReadData, WriteData};
|
use interface::{ReadData, WriteData};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Device status
|
//! Device status
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::super::{BitFlags, Ds323x, Error, Register};
|
use super::super::{BitFlags, Ds323x, Error, Register};
|
||||||
use interface::{ReadData, WriteData};
|
use interface::{ReadData, WriteData};
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
//! I2C/SPI interfaces
|
//! I2C/SPI interfaces
|
||||||
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
|
|
||||||
extern crate embedded_hal as hal;
|
|
||||||
use super::{Error, DEVICE_ADDRESS};
|
use super::{Error, DEVICE_ADDRESS};
|
||||||
use hal::blocking;
|
use hal::blocking;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue