From 67c94749f8b25f1e8e6978c8dcf4bfea459143f1 Mon Sep 17 00:00:00 2001 From: Tangent 128 Date: Mon, 28 Oct 2019 00:02:02 -0400 Subject: [PATCH] remove use of unused output pin --- itsybitsy_m0_lights/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/itsybitsy_m0_lights/src/lib.rs b/itsybitsy_m0_lights/src/lib.rs index 9cd4099..05a083f 100644 --- a/itsybitsy_m0_lights/src/lib.rs +++ b/itsybitsy_m0_lights/src/lib.rs @@ -71,10 +71,8 @@ where { #[inline] pub fn write(&mut self, bit: bool) { - self.out.set_high().unwrap(); self.high_out.set_high().unwrap(); delay(if bit { ONE_HIGH_CYCLES } else { ZERO_HIGH_CYCLES }); - self.out.set_low().unwrap(); self.high_out.set_low().unwrap(); delay(if bit { ONE_LOW_CYCLES } else { ZERO_LOW_CYCLES }); }