From b3aa8ea46ae23b9642f5de59b7b3b421b1e898ed Mon Sep 17 00:00:00 2001 From: doryan Date: Thu, 22 May 2025 21:58:45 +0400 Subject: [PATCH] feat(sync): remove synchronization method calls --- src/structures/ring_buffer.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/structures/ring_buffer.rs b/src/structures/ring_buffer.rs index 4b04404..8a9b6fb 100644 --- a/src/structures/ring_buffer.rs +++ b/src/structures/ring_buffer.rs @@ -110,7 +110,6 @@ where } fn write_bytes(&self, transmit_data: &mut RingBuffer) { - self.sync_transmitter(); >>::write_byte(self, N as u8); for _ in 0..N { @@ -131,7 +130,6 @@ where } fn read_bytes(&self, recieve_data: &mut RingBuffer) { - self.sync_reciever(); let byte = >>::read_byte(self); if let Ok(len) = byte {