Remove ISR from HamShield, add DDS header.

This commit is contained in:
Stephen Olesen 2015-07-01 20:47:56 -06:00
parent 429e645ad2
commit d2dc9adbc0
2 changed files with 3 additions and 2 deletions

View File

@ -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 // 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. // to be reading/handling, and trigger those on the main object.
ISR(ADC_vect) { /*ISR(ADC_vect) {
TIFR1 = _BV(ICF1); // Clear the timer flag TIFR1 = _BV(ICF1); // Clear the timer flag
if(HamShield::sHamShield->afsk.enabled()) { if(HamShield::sHamShield->afsk.enabled()) {
HamShield::sHamShield->afsk.timer(); HamShield::sHamShield->afsk.timer();
} }
} }*/

View File

@ -11,6 +11,7 @@
#include "I2Cdev_rda.h" #include "I2Cdev_rda.h"
#include "SimpleFIFO.h" #include "SimpleFIFO.h"
#include "AFSK.h" #include "AFSK.h"
#include "DDS.h"
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
// HamShield constants // HamShield constants