static void print_status(void)
{
- printf("Ph: %4d %4d %4d // %d%d%d [%d %d %d] // %d // %dx%d // %d\n", d0, d1, d2,
+ printf("Ph: %4d %4d %4d // %d%d%d [%d %d %d] // %d // %dx%d\n", d0, d1, d2,
dvisampler0_data0_charsync_char_synced_read(),
dvisampler0_data1_charsync_char_synced_read(),
dvisampler0_data2_charsync_char_synced_read(),
dvisampler0_data2_charsync_ctl_pos_read(),
dvisampler0_chansync_channels_synced_read(),
dvisampler0_resdetection_hres_read(),
- dvisampler0_resdetection_vres_read(),
- dvisampler0_resdetection_de_cycles_read());
+ dvisampler0_resdetection_vres_read());
}
static void calibrate_delays(void)
static void vmix(void)
{
- int i;
unsigned int counter;
while(1) {
counter++;
if(counter == 2000000) {
print_status();
- //adjust_phase();
+ adjust_phase();
counter = 0;
}
}