Skip to content

Commit

Permalink
Improve transaction! docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantM11235 committed Sep 20, 2022
1 parent 1ae5990 commit 6c9f380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion embedded-hal-async/src/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ where
= impl Future<Output = Result<(), T::Error>>;

#[macro_export]
/// This macro is a workaround for the workaround in [`SpiDevice::transaction`]
/// Do an SPI transaction on a bus.
/// This is a safe wrapper for [SpiDevice::transaction], which handles dereferencing the raw pointer for you.
///
/// # Examples
///
Expand Down

0 comments on commit 6c9f380

Please sign in to comment.