diff options
author | Brian Cully <bjc@kublai.com> | 2022-10-27 20:08:06 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2022-10-27 20:08:06 -0400 |
commit | 0b5803f641d2ab7d42ac498ecccae7d3b3cbc298 (patch) | |
tree | af95c21f42062b502e5c542c47394aaa790d1b23 /src | |
parent | 0df0ba556ef16c43255095ee7be91891bb417ad4 (diff) | |
download | luchie-0b5803f641d2ab7d42ac498ecccae7d3b3cbc298.tar.gz luchie-0b5803f641d2ab7d42ac498ecccae7d3b3cbc298.zip |
led: allow unused methods
Diffstat (limited to 'src')
-rw-r--r-- | src/led.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |