mirror of https://github.com/eldruin/ds323x-rs
Allow unused code from common test module
parent
cfa75dbde0
commit
8546577469
|
@ -1,6 +1,7 @@
|
||||||
extern crate embedded_hal_mock as hal;
|
extern crate embedded_hal_mock as hal;
|
||||||
extern crate ds323x;
|
extern crate ds323x;
|
||||||
use ds323x::Ds323x;
|
use ds323x::Ds323x;
|
||||||
|
#[allow(dead_code)]
|
||||||
mod common;
|
mod common;
|
||||||
use common::DummyOutputPin;
|
use common::DummyOutputPin;
|
||||||
|
|
||||||
|
@ -10,4 +11,3 @@ fn can_create_and_destroy() {
|
||||||
let (mut spi, _cs) = dev.destroy_ds3234();
|
let (mut spi, _cs) = dev.destroy_ds3234();
|
||||||
spi.done();
|
spi.done();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue