dont usleep if no transmission delay (#1101)

This commit is contained in:
maliakal_d 2025-02-18 11:10:06 +01:00 committed by GitHub
parent c43a4030a5
commit 436d180e93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -2817,6 +2817,7 @@ void *start_timer(void *arg) {
getNextFrameNumber(&frameNr);
int iRxEntry = firstDest;
for (int iframes = 0; iframes != numFrames; ++iframes) {
if (transmissionDelayUs)
usleep(transmissionDelayUs);
// check if manual stop

View File

@ -1927,6 +1927,7 @@ void *start_timer(void *arg) {
getNextFrameNumber(&frameNr);
int iRxEntry = firstDest;
for (int iframes = 0; iframes != numFrames; ++iframes) {
if (transmissionDelayUs)
usleep(transmissionDelayUs);
// check if manual stop