]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - hantek_6022bl.c
scopes: Initialize PORTA/C/E consistently for all devices.
[sigrok-firmware-fx2lafw.git] / hantek_6022bl.c
index af445cf2088253b4472b1b690164e8f320a383cf..fa595b4a25acd45cef7d61c5a66ed1f292df4a25 100644 (file)
@@ -438,8 +438,10 @@ static void main(void)
 
        RENUMERATE();
 
+       PORTECFG = 0;
        PORTCCFG = 0;
        PORTACFG = 0;
+       OEE = 0xff;
        OEC = 0xff;
        OEA = 0xff;