From 079cff9d23c69afbe5a918a4caac5babf6398cd0 Mon Sep 17 00:00:00 2001 From: Jason Milldrum Date: Mon, 18 Apr 2016 13:35:14 -0700 Subject: [PATCH] --- Si5351_WSPR.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Si5351_WSPR.ino b/Si5351_WSPR.ino index 056aa21..1c192f9 100644 --- a/Si5351_WSPR.ino +++ b/Si5351_WSPR.ino @@ -51,7 +51,7 @@ #include "Wire.h" #define TONE_SPACING 146 // ~1.46 Hz -#define SUBMODE_A 10672 // CTC value for WSPR +#define WSPR_CTC 10672 // CTC value for WSPR #define SYMBOL_COUNT WSPR_SYMBOL_COUNT #define CORRECTION 0 // Change this for your ref osc @@ -162,7 +162,7 @@ void setup() (1 << WGM12); // turn on CTC // which gives, 64 us ticks TIMSK1 = (1 << OCIE1A); // Enable timer compare interrupt. - OCR1A = SUBMODE_A; // Set up interrupt trigger count; + OCR1A = WSPR_CTC; // Set up interrupt trigger count; interrupts(); // Re-enable interrupts. }