Pi Firmware: changes vsync detect constant from 6.144us to 8.000us

Change-Id: Id293b22d99e6e4f55cc3fde7f4978456bbe107a1
pull/11/head
David Banks 2018-11-17 13:13:16 +00:00
rodzic e9f7569dd1
commit f369754cb1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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