Apply clippy suggestions

This commit is contained in:
Michael Watzko 2025-03-21 15:52:22 +01:00
commit 4743976211
4 changed files with 10 additions and 10 deletions

View file

@ -78,7 +78,7 @@ impl<SPI: SpiBus> Bus for ThreeWire<SPI> {
}
fn write_frame(&mut self, block: u8, mut address: u16, data: &[u8]) -> Result<(), Self::Error> {
let mut control_phase = block << 3 | WRITE_MODE_MASK;
let mut control_phase = (block << 3) | WRITE_MODE_MASK;
let mut data_phase = data;
let mut last_length_written: u16;