From d2dc9adbc059d96824dbcbcbc40a93c0cc019379 Mon Sep 17 00:00:00 2001 From: Stephen Olesen Date: Wed, 1 Jul 2015 20:47:56 -0600 Subject: [PATCH] Remove ISR from HamShield, add DDS header. --- HamShield.cpp | 4 ++-- HamShield.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HamShield.cpp b/HamShield.cpp index 6d66d2f..535935d 100644 --- a/HamShield.cpp +++ b/HamShield.cpp @@ -1355,10 +1355,10 @@ void HamShield::AFSKOut(char buffer[80]) { // This is the ADC timer handler. When enabled, we'll see what we're supposed // to be reading/handling, and trigger those on the main object. -ISR(ADC_vect) { +/*ISR(ADC_vect) { TIFR1 = _BV(ICF1); // Clear the timer flag if(HamShield::sHamShield->afsk.enabled()) { HamShield::sHamShield->afsk.timer(); } -} +}*/ diff --git a/HamShield.h b/HamShield.h index ecd08ac..abcb152 100644 --- a/HamShield.h +++ b/HamShield.h @@ -11,6 +11,7 @@ #include "I2Cdev_rda.h" #include "SimpleFIFO.h" #include "AFSK.h" +#include "DDS.h" #include // HamShield constants