aboutsummaryrefslogtreecommitdiffstats
path: root/src/cirque.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cirque.rs')
-rw-r--r--src/cirque.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cirque.rs b/src/cirque.rs
index 5e48269..af2ce6f 100644
--- a/src/cirque.rs
+++ b/src/cirque.rs
@@ -8,6 +8,7 @@ use nb;
use stm32f1xx_hal::rcc::Clocks;
/// Default I²C address.
+#[allow(unused)]
const I2C_ADDR: u8 = 0x2a;
// the maximum reportable units
@@ -31,6 +32,7 @@ fn clamp<T: Ord>(val: T, low: T, high: T) -> T {
}
/// Register Access Protocol addresses.
+#[allow(unused)]
#[repr(u8)]
enum RAPAddress {
FirmwareID = 0x00,