aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/led.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/led.rs b/src/led.rs
index 788ec81..ed2524d 100644
--- a/src/led.rs
+++ b/src/led.rs
@@ -14,6 +14,7 @@ pub struct LED {
state: State,
}
+#[allow(unused)]
impl LED {
pub fn new(pin: LEDPin<Input<Floating>>, cr: &mut Cr<CRL, 'B'>) -> Self {
let mut p = pin.into_push_pull_output(cr);