mirror of
https://github.com/marqs85/ossc.git
synced 2024-09-27 04:55:03 +00:00
init the IT6613 only once if HDMI is initiated
This commit is contained in:
parent
2de05ca742
commit
64b661c7e2
@ -1332,8 +1332,9 @@ int init_hw()
|
|||||||
if (!(IORD_ALTERA_AVALON_PIO_DATA(PIO_1_BASE) & PB1_BIT))
|
if (!(IORD_ALTERA_AVALON_PIO_DATA(PIO_1_BASE) & PB1_BIT))
|
||||||
setup_rc();
|
setup_rc();
|
||||||
|
|
||||||
// init always is HDMI mode (fixes yellow screen bug)
|
// init always in HDMI mode (fixes yellow screen bug)
|
||||||
TX_enable(TX_HDMI);
|
TX_enable(TX_HDMI);
|
||||||
|
if (tc.tx_mode == TX_DVI)
|
||||||
TX_enable(tc.tx_mode);
|
TX_enable(tc.tx_mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user