Skip to content

Commit

Permalink
Add missing conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Dec 5, 2024
1 parent e3c4f84 commit 5eb5f07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esp-hal/src/dma/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ impl From<DmaBufError> for DmaError {
DmaBufError::UnsupportedMemoryRegion => DmaError::UnsupportedMemoryRegion,
DmaBufError::InvalidAlignment(err) => DmaError::InvalidAlignment(err),
DmaBufError::InvalidChunkSize => DmaError::InvalidChunkSize,
DmaBufError::BufferTooSmall => DmaError::BufferTooSmall,
}
}
}
Expand Down

0 comments on commit 5eb5f07

Please sign in to comment.