]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Switch from OE2/CTL2 to OE0/CTL0 on 6022BL
authorJan Losinski <redacted>
Thu, 12 Jan 2017 21:10:15 +0000 (22:10 +0100)
committerUwe Hermann <redacted>
Fri, 27 Jan 2017 00:04:02 +0000 (01:04 +0100)
On this device CTL0 is soldered to IFCLK.

Signed-off-by: Jan Losinski <redacted>
hantek_6022bl.c

index 2c5c4c03aec0bb6c352af5225a565725d74499a7..44b917d104f221b291c9b5a68dc9cdb96aec80a2 100644 (file)
@@ -287,8 +287,8 @@ static BOOL set_samplerate(BYTE rate)
 
        /* OUTPUT 0-7 */
        EXTAUTODAT2 = samplerates[i].out0;
-       EXTAUTODAT2 = 0x44; /* OE0=1, CTL0=1 */
-       EXTAUTODAT2 = 0x44; /* OE0=1, CTL0=1 */
+       EXTAUTODAT2 = 0x11; /* OE0=1, CTL0=1 */
+       EXTAUTODAT2 = 0x11; /* OE0=1, CTL0=1 */
        EXTAUTODAT2 = 0;
        EXTAUTODAT2 = 0;
        EXTAUTODAT2 = 0;