Open CarlFK opened 4 years ago
It looks like this was a regression introduced in 971d1cb48212cfce16e2db7fb86eff82e1c94e4a, because it changed pattern
from "source 2" to "source 0".
Some of our case designs for Opsis call the onboard inputs "1" and "2", but the "internal" naming has always been "0" and "1". We should retain this, and always call it "0" and "1".
Some parts of the UI reference the first input port as input0, some input1. I suspect this is related to adding source VIDEO_IN_PCIE
If we agree that everything is 0 based, then commands do what we want, but the input status messages are off by one. (the output messages are not.)
status calls: https://github.com/timvideos/HDMI2USB-litex-firmware/blob/c27ca257f49e580183222aa2b10623ae6c544553/firmware/ci.c#L453
which calls: https://github.com/timvideos/HDMI2USB-litex-firmware/blob/c27ca257f49e580183222aa2b10623ae6c544553/firmware/processor.c#L707