Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Jul 8, 2023
1 parent 4976e93 commit 172b1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rp2040-hal/src/dma/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl<CH: ChannelIndex> ChannelRegs for Channel<CH> {
///
/// The implementing type must be safe to use for DMA reads. This means:
///
/// - The range returned by rx_address_count must pointer to a valid address,
/// - The range returned by rx_address_count must point to a valid address,
/// and if rx_increment is true, count must fit into the allocated buffer.
/// - As long as no `&mut self` method is called on the implementing object:
/// - `rx_address_count` must always return the same value, if called multiple
Expand Down Expand Up @@ -215,7 +215,7 @@ unsafe impl<B: ReadBuffer> ReadTarget for B {
///
/// The implementing type must be safe to use for DMA writes. This means:
///
/// - The range returned by tx_address_count must pointer to a valid address,
/// - The range returned by tx_address_count must point to a valid address,
/// and if tx_increment is true, count must fit into the allocated buffer.
/// - As long as no other `&mut self` method is called on the implementing object:
/// - `tx_address_count` must always return the same value, if called multiple
Expand Down

0 comments on commit 172b1fa

Please sign in to comment.