changed order determining whether tx_enabled
pull/13/head
Arjan te Marvelde 2022-01-18 21:56:08 +01:00 zatwierdzone przez GitHub
rodzic b54205bd83
commit 8f1702a9de
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

2
dsp.c
Wyświetl plik

@ -543,7 +543,7 @@ void dsp_loop()
{
cmd = multicore_fifo_pop_blocking(); // Wait for fifo output
tx_enabled = ptt_active || vox(); // Sample audio and check level
tx_enabled = vox() || ptt_active; // Sample audio and check level
if (tx_enabled)
{
if (vox_level != VOX_OFF) // Only when vox is enabled