[AX25] Added support for interrupt-based timing
This commit is contained in:
parent
3e64e819c7
commit
abc7cf179a
1 changed files with 1 additions and 3 deletions
|
@ -413,9 +413,7 @@ int16_t AX25Client::sendFrame(AX25Frame* frame) {
|
||||||
} else {
|
} else {
|
||||||
_audio->tone(_afskSpace, false);
|
_audio->tone(_afskSpace, false);
|
||||||
}
|
}
|
||||||
while(mod->micros() - start < _afskLen) {
|
mod->waitForMicroseconds(start, _afskLen);
|
||||||
mod->yield();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue