Skip to content

Commit 4edb37d

Browse files
Use completed instead of flush
1 parent 6e9bce8 commit 4edb37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub trait Send<Word> {
4242
fn send(&mut self, word: Word) -> nb::Result<(), Self::Error>;
4343

4444
/// Ensures that none of the previously written words are still buffered
45-
fn flush(&mut self) -> nb::Result<(), Self::Error>;
45+
fn completed(&mut self) -> nb::Result<(), Self::Error>;
4646
}
4747

4848
/// Write (master mode)

0 commit comments

Comments
 (0)