fix: import ring buffer after fix Cargo.toml of ring-buffer crate

This commit is contained in:
2025-08-10 21:22:25 +04:00
parent c77d02a7f7
commit 3d11f1382e
3 changed files with 2 additions and 3 deletions

View File

@@ -16,8 +16,6 @@ use static_pins::StaticPinOps;
mod structures;
pub use structures::ring_buffer::*;
pub type PollResult = Result<(), PollError>;
pub type ReadByteResult = Result<u8, CorruptedData>;
pub type CorruptedData = (u8, u8);

View File

@@ -2,6 +2,7 @@
// Youtube: https://www.youtube.com/watch?v=uIJnATS9j_0
use arduino_hal::port::PinOps;
use ring_buffer::RingBuffer;
use static_pins::StaticPinOps;
use crate::{