kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Pi Firmware: changes vsync detect constant from 6.144us to 8.000us
Change-Id: Id293b22d99e6e4f55cc3fde7f4978456bbe107a1pull/11/head
rodzic
e9f7569dd1
commit
f369754cb1
|
@ -1055,11 +1055,11 @@ vsync_loop:
|
|||
// Calculate length of low hsync pulse (in ARM cycles = ns)
|
||||
sub r5, r6, r5
|
||||
|
||||
// Compare with 6us to descriminate short from long
|
||||
// Compare with 8us to descriminate short from long
|
||||
// - normal hsync pulses are 4us
|
||||
// - during vsync everything is either inverted, or clamped to zero
|
||||
// - this results in hsync pulses between 9us and 128us
|
||||
cmp r5, #6144
|
||||
cmp r5, #8000
|
||||
blt seen_short
|
||||
|
||||
// Set the state variable to indicate we are in the vsync
|
||||
|
|
Ładowanie…
Reference in New Issue