From: Uwe Hermann Date: Mon, 24 Apr 2017 13:42:05 +0000 (+0200) Subject: scopes: Move a code comment. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.6~12 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ba63ce8b9aba391c41cde4605ef9b941d4a879b3;p=sigrok-firmware-fx2lafw.git scopes: Move a code comment. --- diff --git a/hw/hantek-6022be/fw.c b/hw/hantek-6022be/fw.c index 341571a6..e61a32e5 100644 --- a/hw/hantek-6022be/fw.c +++ b/hw/hantek-6022be/fw.c @@ -30,7 +30,6 @@ #define SET_CALIBRATION_PULSE(x) -/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */ #define TOGGLE_CALIBRATION_PIN() PA7 = !PA7 #define LED_CLEAR() PC0 = 1; PC1 = 1; diff --git a/hw/hantek-6022bl/fw.c b/hw/hantek-6022bl/fw.c index a78350ec..b2ac5017 100644 --- a/hw/hantek-6022bl/fw.c +++ b/hw/hantek-6022bl/fw.c @@ -30,7 +30,6 @@ #define SET_CALIBRATION_PULSE(x) -/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */ #define TOGGLE_CALIBRATION_PIN() PC2 = !PC2 #define LED_CLEAR() PC0 = 1; PC1 = 1; diff --git a/hw/sainsmart-dds120/fw.c b/hw/sainsmart-dds120/fw.c index 690eadf6..d67e7c91 100644 --- a/hw/sainsmart-dds120/fw.c +++ b/hw/sainsmart-dds120/fw.c @@ -30,7 +30,6 @@ #define SET_CALIBRATION_PULSE(x) set_calibration_pulse(x) -/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */ /* Note: There's no PE2 as IOE is not bit-addressable (see TRM 15.2). */ #define TOGGLE_CALIBRATION_PIN() IOE = IOE ^ 0x04 diff --git a/include/scope.inc b/include/scope.inc index 0145b2b6..96422f1b 100644 --- a/include/scope.inc +++ b/include/scope.inc @@ -74,6 +74,7 @@ void suspend_isr(void) __interrupt SUSPEND_ISR void timer2_isr(void) __interrupt TF2_ISR { + /* Toggle the probe calibration pin, only accurate up to ca. 8MHz. */ TOGGLE_CALIBRATION_PIN(); if (ledcounter && (--ledcounter == 0))