feat(sync): remove synchronization method calls
This commit is contained in:
parent
b72be2fc3b
commit
b3aa8ea46a
|
@ -110,7 +110,6 @@ where
|
|||
}
|
||||
|
||||
fn write_bytes(&self, transmit_data: &mut RingBuffer<N>) {
|
||||
self.sync_transmitter();
|
||||
<Self as SoftSerialWriter<P, &mut RingBuffer<N>>>::write_byte(self, N as u8);
|
||||
|
||||
for _ in 0..N {
|
||||
|
@ -131,7 +130,6 @@ where
|
|||
}
|
||||
|
||||
fn read_bytes(&self, recieve_data: &mut RingBuffer<N>) {
|
||||
self.sync_reciever();
|
||||
let byte = <Self as SoftSerialReader<P, &mut RingBuffer<N>>>::read_byte(self);
|
||||
|
||||
if let Ok(len) = byte {
|
||||
|
|
Loading…
Reference in New Issue