Skip to content

Commit ba6d227

Browse files
committed
Available != !available
1 parent c321ec3 commit ba6d227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dma/tx/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl<'ring> TxRing<'ring> {
8080

8181
/// If this returns `true`, the next `send` will succeed.
8282
pub fn next_entry_available(&self) -> bool {
83-
!self.entries[self.next_entry].is_available()
83+
self.entries[self.next_entry].is_available()
8484
}
8585

8686
/// Check if we can send the next TX entry.

0 commit comments

Comments
 (0)