Skip to content

Commit c9c4f38

Browse files
committed
Remove method from FdInterface that have a redundant method in Interface
1 parent 99bf193 commit c9c4f38

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/can.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ pub trait FdTransmitter: FdInterface + Receiver {
205205
/// If the buffer is full, this function will try to replace a lower priority `FdFrame`
206206
/// and return it. This is to avoid the priority inversion problem.
207207
fn transmit(&mut self, frame: &Self::FdFrame) -> nb::Result<Option<Self::FdFrame>, Self::Error>;
208-
209-
/// Returns true if a call to `transmit(frame)` or `transmit_fd(fd_frame)`
210-
/// would return a `FdFrame` or `WouldBlock`.
211-
fn transmit_buffer_full(&self) -> bool;
212208
}
213209

214210
/// A CAN-FD interface that is able to receive frames.

0 commit comments

Comments
 (0)