1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-02-21 10:31:52 +01:00
parent 3056c9af71
commit 02a18f620b
4 changed files with 6 additions and 6 deletions

View file

@ -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],