Fix CPU usage problem in new morse data handler

https://github.com/Hamlib/Hamlib/issues/1334
pull/1336/head
Mike Black W9MDB 2023-07-11 11:41:54 -05:00
rodzic 778889e06a
commit 5a8bd96427
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -8012,6 +8012,7 @@ void *morse_data_handler(void *arg)
} while (result != RIG_OK && rig->state.fifo_morse->flush==0);
}
rig->state.fifo_morse->flush = 0; // reset flush flag
hl_usleep(10*1000);
}
free(rig->state.fifo_morse);
pthread_exit(NULL);