From: Uwe Hermann Date: Fri, 27 Jan 2017 00:05:14 +0000 (+0100) Subject: hantek_6022be.c: Fix a code comment. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.5~3 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6fcab61f470a44889a919e0bf172c07bb2614d01;p=sigrok-firmware-fx2lafw.git hantek_6022be.c: Fix a code comment. What's actually used there is OE2/CTL2. --- diff --git a/hantek_6022be.c b/hantek_6022be.c index dfd35226..91a959e2 100644 --- a/hantek_6022be.c +++ b/hantek_6022be.c @@ -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;