]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
hantek_6022be.c: Fix a code comment.
authorUwe Hermann <redacted>
Fri, 27 Jan 2017 00:05:14 +0000 (01:05 +0100)
committerUwe Hermann <redacted>
Fri, 27 Jan 2017 00:05:14 +0000 (01:05 +0100)
What's actually used there is OE2/CTL2.

hantek_6022be.c

index dfd3522650480908145ab18d0fe8f1af14a1305e..91a959e24439cd7705e21e2f4ad62bf3e8a70d2d 100644 (file)
@@ -281,8 +281,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 = 0x44; /* OE2=1, CTL2=1 */
+       EXTAUTODAT2 = 0x44; /* OE2=1, CTL2=1 */
        EXTAUTODAT2 = 0;
        EXTAUTODAT2 = 0;
        EXTAUTODAT2 = 0;