mirror of
https://github.com/marqs85/ossc.git
synced 2025-02-28 11:29:12 +00:00
Reset sync processing when disabling output
This commit is contained in:
parent
9c2cdd64cf
commit
4548bf0b8c
File diff suppressed because it is too large
Load Diff
@ -106,11 +106,15 @@ inline void tvp_reset()
|
||||
|
||||
inline void tvp_disable_output()
|
||||
{
|
||||
usleep(10000);
|
||||
alt_u8 syncproc_rst = tvp_readreg(TVP_MISCCTRL4) | (1<<7);
|
||||
|
||||
tvp_writereg(TVP_MISCCTRL1, 0x13);
|
||||
usleep(10000);
|
||||
tvp_writereg(TVP_MISCCTRL2, 0x03);
|
||||
usleep(10000);
|
||||
tvp_writereg(TVP_MISCCTRL4, syncproc_rst);
|
||||
usleep(1000);
|
||||
tvp_writereg(TVP_MISCCTRL4, syncproc_rst & 0x7F);
|
||||
}
|
||||
|
||||
inline void tvp_enable_output()
|
||||
|
Loading…
x
Reference in New Issue
Block a user