From: Jan Losinski Date: Thu, 12 Jan 2017 21:10:15 +0000 (+0100) Subject: Switch from OE2/CTL2 to OE0/CTL0 on 6022BL X-Git-Tag: sigrok-firmware-fx2lafw-0.1.5~6 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a76fd2a9590f03cf26f47a04b2d0cb27f111c621;p=sigrok-firmware-fx2lafw.git Switch from OE2/CTL2 to OE0/CTL0 on 6022BL On this device CTL0 is soldered to IFCLK. Signed-off-by: Jan Losinski --- diff --git a/hantek_6022bl.c b/hantek_6022bl.c index 2c5c4c03..44b917d1 100644 --- a/hantek_6022bl.c +++ b/hantek_6022bl.c @@ -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;