Let repeated clock byte be singular pointer and not array pointer

This commit is contained in:
Rasmus Melchior Jacobsen
2022-12-23 15:49:22 +01:00
parent e9a2c4a9e3
commit 47a0769fc2
5 changed files with 6 additions and 6 deletions

View File

@ -78,7 +78,7 @@ foreach_dma_channel! {
);
}
unsafe fn start_write_repeated<W: Word>(&mut self, _request: Request, repeated: *const [W], count: usize, reg_addr: *mut W, options: TransferOptions) {
unsafe fn start_write_repeated<W: Word>(&mut self, _request: Request, repeated: *const W, count: usize, reg_addr: *mut W, options: TransferOptions) {
low_level_api::start_transfer(
pac::$dma_peri,
$channel_num,