remove use of unused output pin
This commit is contained in:
parent
03bd72808a
commit
67c94749f8
1 changed files with 0 additions and 2 deletions
|
@ -71,10 +71,8 @@ where
|
||||||
{
|
{
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn write(&mut self, bit: bool) {
|
pub fn write(&mut self, bit: bool) {
|
||||||
self.out.set_high().unwrap();
|
|
||||||
self.high_out.set_high().unwrap();
|
self.high_out.set_high().unwrap();
|
||||||
delay(if bit { ONE_HIGH_CYCLES } else { ZERO_HIGH_CYCLES });
|
delay(if bit { ONE_HIGH_CYCLES } else { ZERO_HIGH_CYCLES });
|
||||||
self.out.set_low().unwrap();
|
|
||||||
self.high_out.set_low().unwrap();
|
self.high_out.set_low().unwrap();
|
||||||
delay(if bit { ONE_LOW_CYCLES } else { ZERO_LOW_CYCLES });
|
delay(if bit { ONE_LOW_CYCLES } else { ZERO_LOW_CYCLES });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue