all: address clippy lints
This commit is contained in:
parent
3056c9af71
commit
02a18f620b
4 changed files with 6 additions and 6 deletions
|
|
@ -728,8 +728,8 @@ impl<'a> EdidParser<'a> {
|
|||
vertical_blanking_lines: u16::from_le_bytes([b[6], b[7] & 0b1111]),
|
||||
horizontal_front_porch_pixels: u16::from_le_bytes([b[8], b[11] >> 6]),
|
||||
horizontal_sync_pulse_pixels: u16::from_le_bytes([b[9], (b[11] >> 4) & 0b11]),
|
||||
vertical_front_porch_lines: (b[10] >> 4) | (b[11] & 0b1100) << 2,
|
||||
vertical_sync_pulse_lines: (b[10] & 0b1111) | (b[11] & 0b11) << 4,
|
||||
vertical_front_porch_lines: (b[10] >> 4) | ((b[11] & 0b1100) << 2),
|
||||
vertical_sync_pulse_lines: (b[10] & 0b1111) | ((b[11] & 0b11) << 4),
|
||||
horizontal_addressable_mm: u16::from_le_bytes([b[12], b[14] >> 4]),
|
||||
vertical_addressable_mm: u16::from_le_bytes([b[13], b[14] & 0b1111]),
|
||||
horizontal_left_border_pixels: b[15],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue