]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Change probe cal pin for 6022BL to PC2
authorJan Losinski <redacted>
Thu, 12 Jan 2017 15:39:32 +0000 (16:39 +0100)
committerUwe Hermann <redacted>
Fri, 27 Jan 2017 00:04:02 +0000 (01:04 +0100)
In contrast to the 6022BE it is not connected to PA7 but to PC2 on the
6022BL.

Signed-off-by: Jan Losinski <redacted>
hantek_6022bl.c

index dfd3522650480908145ab18d0fe8f1af14a1305e..2e86a2ac583ba37988fee70952f54e4490abb91e 100644 (file)
@@ -66,7 +66,9 @@ void suspend_isr(void) __interrupt SUSPEND_ISR
 
 void timer2_isr(void) __interrupt TF2_ISR
 {
-       PA7 = !PA7;
+       /* Toggle the 1kHz calibration pin, only accurate up to ca 8MHz. */
+       PC2 = !PC2;
+
        if (ledcounter) {
                if (--ledcounter == 0) {
                        /* Clear LED. */