Apply clippy suggestions
This commit is contained in:
parent
099e682b9d
commit
4743976211
4 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue