Initial import of the main code from https://github.com/slepp/AX25

Partially functional, but no accuracy tests complete yet.
This commit is contained in:
Stephen Olesen
2015-06-30 19:22:46 -06:00
parent 6a5815d9b5
commit 9b2987de08
5 changed files with 886 additions and 3 deletions

View File

@@ -1352,3 +1352,13 @@ 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) {
TIFR1 = _BV(ICF1); // Clear the timer flag
if(HamShield::sHamShield->afsk.enabled()) {
HamShield::sHamShield->afsk.timer();
}
}