diff --git a/ad9959/src/lib.rs b/ad9959/src/lib.rs index 9098e2a..3b11d4f 100644 --- a/ad9959/src/lib.rs +++ b/ad9959/src/lib.rs @@ -321,7 +321,7 @@ impl Ad9959 { .write(Register::CSR as u8, &[csr]) .map_err(|_| Error::Interface)?; - self.write(register, &data)?; + self.write(register, data)?; Ok(()) } diff --git a/src/hardware/pounder/mod.rs b/src/hardware/pounder/mod.rs index a56446e..133a6ed 100644 --- a/src/hardware/pounder/mod.rs +++ b/src/hardware/pounder/mod.rs @@ -233,7 +233,7 @@ impl ad9959::Interface for QspiInterface { }; self.qspi - .write(encoded_address.into(), &encoded_payload) + .write(encoded_address.into(), encoded_payload) .map_err(|_| Error::Qspi) } ad9959::Mode::FourBitSerial => {