]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - hantek_6022bl.c
Change probe cal pin for 6022BL to PC2
[sigrok-firmware-fx2lafw.git] / 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. */