From: Jan Losinski Date: Thu, 12 Jan 2017 15:40:47 +0000 (+0100) Subject: Set PA7 to high, to select analog mode. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.5~9 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=eb52aca4c6382ec0bb4f7236c494a16c9fd62b01;p=sigrok-firmware-fx2lafw.git Set PA7 to high, to select analog mode. Signed-off-by: Jan Losinski --- diff --git a/hantek_6022bl.c b/hantek_6022bl.c index 2e86a2ac..740a9592 100644 --- a/hantek_6022bl.c +++ b/hantek_6022bl.c @@ -386,6 +386,9 @@ static void init(void) EP4CFG = 0; EP8CFG = 0; + /* Set analog mode */ + PA7 = 1; + /* In idle mode tristate all outputs. */ GPIFIDLECTL = 0x00; /* Don't enable CTL0-5 outputs. */ GPIFCTLCFG = 0x80; /* TRICTL=1. CTL0-2: CMOS outputs, tri-statable. */