From: Benjamin Larsson Date: Wed, 18 May 2016 20:50:06 +0000 (+0200) Subject: fx2lafw: clock CTL1 the same as CTL2 X-Git-Tag: sigrok-firmware-fx2lafw-0.1.4~28 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=552a42e560835b12a1f8a51eec750792a196c6e5;p=sigrok-firmware-fx2lafw.git fx2lafw: clock CTL1 the same as CTL2 The LHT00SU1 has it's clock pins swapped compared to other hardware. By duplicating the CTL2 pin both the socket and the adc will have the same clock frequency. --- diff --git a/gpif-acquisition.c b/gpif-acquisition.c index b05f4f3c..17a87b9e 100644 --- a/gpif-acquisition.c +++ b/gpif-acquisition.c @@ -226,7 +226,7 @@ bool gpif_acquisition_start(const struct cmd_start_acquisition *cmd) delay_1 = cmd->sample_delay_l - delay_2; gpif_make_delay_state(pSTATE++, delay_2, 0x00, 0x40); - gpif_make_delay_state(pSTATE++, delay_1, 0x00, 0x44); + gpif_make_delay_state(pSTATE++, delay_1, 0x00, 0x46); } else { /* Populate delay states. */ if ((cmd->sample_delay_h == 0 && cmd->sample_delay_l == 0) ||