]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Set PA7 to high, to select analog mode.
authorJan Losinski <redacted>
Thu, 12 Jan 2017 15:40:47 +0000 (16:40 +0100)
committerUwe Hermann <redacted>
Fri, 27 Jan 2017 00:04:02 +0000 (01:04 +0100)
Signed-off-by: Jan Losinski <redacted>
hantek_6022bl.c

index 2e86a2ac583ba37988fee70952f54e4490abb91e..740a95920fda88267ae0b82b301d5e82aab7803f 100644 (file)
@@ -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. */