Skip to content

Commit

Permalink
Update LoopBuf as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 21, 2024
1 parent 44d8969 commit a8184d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions esp-hal/src/dma/buffers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,11 @@ unsafe impl DmaTxBuffer for DmaLoopBuf {
fn prepare(&mut self) -> Preparation {
Preparation {
start: self.descriptor,
block_size: None,
is_burstable: true,
direction: TransferDirection::Out,
// TODO: support external memory access.
#[cfg(esp32s3)]
external_memory_block_size: None,
burst_transfer: BurstTransfer::Disabled,
// The DMA must not check the owner bit, as it is never set.
check_owner: Some(false),
}
Expand Down

0 comments on commit a8184d8

Please sign in to comment.