Compare commits
No commits in common. "14bb705e9436eb8f4723f294a0060e32d476e6bc" and "6991e5611e6e9ae7aef5d5acc0345531c9dc41c2" have entirely different histories.
14bb705e94
...
6991e5611e
|
@ -85,7 +85,7 @@ where
|
||||||
pub fn sync_transmitter(&self) {
|
pub fn sync_transmitter(&self) {
|
||||||
P::into_output();
|
P::into_output();
|
||||||
|
|
||||||
delay_us(SERIAL_DELAY);
|
delay_us(SERIAL_DELAY / 2);
|
||||||
|
|
||||||
P::set_high();
|
P::set_high();
|
||||||
}
|
}
|
||||||
|
@ -100,6 +100,7 @@ where
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn reset(&self) {
|
pub fn reset(&self) {
|
||||||
P::into_pull_up_input();
|
P::into_pull_up_input();
|
||||||
|
while P::is_low() {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue