Fix get_ptt command for anytone

pull/1330/head
Mike Black W9MDB 2023-05-29 22:27:31 -05:00
rodzic 8fcd8242af
commit 5541deb812
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -451,7 +451,7 @@ int anytone_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
{
char buf[8] = { 0x41, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x06 };
if (ptt) { buf[1] = 0x01; }
if (!ptt) { buf[1] = 0x01; }
MUTEX_LOCK(p->mutex);
anytone_transaction(rig, buf, 8, 1);