remove use of unused output pin

This commit is contained in:
Tangent 128 2019-10-28 00:02:02 -04:00
parent 03bd72808a
commit 67c94749f8

View file

@ -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 });
}