pounder/ad9959: clippy lints
This commit is contained in:
parent
8802b60fcf
commit
a05fb6b536
|
@ -321,7 +321,7 @@ impl<I: Interface> Ad9959<I> {
|
|||
.write(Register::CSR as u8, &[csr])
|
||||
.map_err(|_| Error::Interface)?;
|
||||
|
||||
self.write(register, &data)?;
|
||||
self.write(register, data)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue