Remove ISR from HamShield, add DDS header.
This commit is contained in:
parent
429e645ad2
commit
d2dc9adbc0
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue