]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - hantek_6022bl.c
Set PA7 to high, to select analog mode.
[sigrok-firmware-fx2lafw.git] / 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. */