Skip to content

Commit

Permalink
fix vclk_phase_inv_read_file
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Jun 13, 2024
1 parent f187920 commit c407725
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/driver/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,8 @@ uint8_t vclk_phase_inv_read_file(char *file_path) {
if ((value >> 1) & 1) // 8e[7]
vclk_phase[mode] ^= (1 << 23);

if ((value >> 2) & 1) { // 8d[2]
vclk_phase[mode] ^= (1 << 2);
if ((value >> 2) & 1) // 8d[2]
vclk_phase[mode] ^= (1 << 26);
}

if ((value >> 3) & 1) // hdmi out_0
vclk_phase[mode] ^= (1 << 0);
Expand Down

0 comments on commit c407725

Please sign in to comment.