From 8fcd8242afbcca4c1fdeda751d260aa11df1da92 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 29 May 2023 22:16:23 -0500 Subject: [PATCH] Change anytone set_ptt to use new PTT On hold command --- rigs/anytone/anytone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/anytone/anytone.c b/rigs/anytone/anytone.c index b42f7f257..4ae5676b9 100644 --- a/rigs/anytone/anytone.c +++ b/rigs/anytone/anytone.c @@ -245,7 +245,7 @@ int anytone_init(RIG *rig) rig->state.priv = p; p->vfo_curr = RIG_VFO_NONE; #ifdef HAVE_PTHREAD - pthread_mutex_init(&p->mutex, NULL); +// pthread_mutex_init(&p->mutex, NULL); #endif } @@ -449,7 +449,7 @@ int anytone_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt) } else { - char buf[8] = { 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06 }; + char buf[8] = { 0x41, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x06 }; if (ptt) { buf[1] = 0x01; }