From cc56bdfa22136cfe4f8290e6f895e3d222519b6e Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 20 Nov 2024 09:37:42 -0800 Subject: [PATCH] Add todo --- src/vector/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vector/mod.rs b/src/vector/mod.rs index 2cda67e..5603019 100644 --- a/src/vector/mod.rs +++ b/src/vector/mod.rs @@ -68,6 +68,7 @@ impl Drop for VectorCan { impl CanAdapter for VectorCan { fn send(&mut self, frames: &mut VecDeque) -> Result<()> { + // TODO: can we send frames in bulk? If we fill up the TXqueue we need to know which messages were actually sent out while let Some(frame) = frames.pop_front() { let xl_frame: XLcanTxEvent = frame.clone().into(); let xl_frames = vec![xl_frame];