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

@ -466,7 +466,7 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> {
let tx_request = self.txdma.request();
let tx_dst = T::REGS.tx_ptr();
let clock_byte = [0x00u8];
let clock_byte = 0x00u8;
let tx_f = crate::dma::write_repeated(&mut self.txdma, tx_request, &clock_byte, clock_byte_count, tx_dst);
unsafe {