allow unused constant

pull/4/head
Diego Barrios Romero 2018-11-16 19:30:45 +01:00
parent 729a4c92e7
commit dee3deb073
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ extern crate embedded_hal_mock as hal;
use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans }; use self::hal::i2c::{ Mock as I2cMock, Transaction as I2cTrans };
use self::hal::spi::{ Mock as SpiMock, Transaction as SpiTrans }; use self::hal::spi::{ Mock as SpiMock, Transaction as SpiTrans };
#[allow(unused)]
pub const DEVICE_ADDRESS : u8 = 0b110_1000; pub const DEVICE_ADDRESS : u8 = 0b110_1000;
#[allow(unused)] #[allow(unused)]
pub const CONTROL_POR_VALUE: u8 = 0b0001_1100; pub const CONTROL_POR_VALUE: u8 = 0b0001_1100;