Compare commits
2
Commits
6991e5611e
...
14bb705e94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14bb705e94 | ||
|
|
096fa7853f |
+1
-2
@@ -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 / 2);
|
delay_us(SERIAL_DELAY);
|
||||||
|
|
||||||
P::set_high();
|
P::set_high();
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,6 @@ 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() {}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user