improved EDID setting read
This commit is contained in:
parent
b3d2ea58e5
commit
5bbe2eb5c7
1
main.c
1
main.c
|
@ -325,6 +325,7 @@ we will only be able to provide 1 extension block since we can only respond to o
|
|||
// check if EDID should be copied
|
||||
EDID_PORT->DDR.reg &= ~EDID_PIN; // switch pin to output
|
||||
EDID_PORT->CR1.reg |= EDID_PIN; // enable pull up
|
||||
wait_10us(1); // wait for pull up to take effect
|
||||
if (EDID_PORT->IDR.reg & EDID_PIN) { // EDID switched off
|
||||
puts("EDID protected\r\n");
|
||||
} else if (i2c_fwd) { // we are not the only master on the I²C sink lines
|
||||
|
|
Loading…
Reference in New Issue