Skip to content

Commit 6c9f380

Browse files
committed
Improve transaction! docs
1 parent 1ae5990 commit 6c9f380

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

embedded-hal-async/src/spi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ where
3636
= impl Future<Output = Result<(), T::Error>>;
3737

3838
#[macro_export]
39-
/// This macro is a workaround for the workaround in [`SpiDevice::transaction`]
39+
/// Do an SPI transaction on a bus.
40+
/// This is a safe wrapper for [SpiDevice::transaction], which handles dereferencing the raw pointer for you.
4041
///
4142
/// # Examples
4243
///

0 commit comments

Comments
 (0)