[AX25] Added support for interrupt-based timing

This commit is contained in:
jgromes 2022-11-18 17:24:01 +01:00
parent 3e64e819c7
commit abc7cf179a

View file

@ -413,9 +413,7 @@ int16_t AX25Client::sendFrame(AX25Frame* frame) {
} else {
_audio->tone(_afskSpace, false);
}
while(mod->micros() - start < _afskLen) {
mod->yield();
}
mod->waitForMicroseconds(start, _afskLen);
}
}