Add CWR CWN to newcat PTT off delay

pull/1001/head
Mike Black W9MDB 2022-03-31 23:18:00 -05:00
rodzic a5fb30d5b6
commit bd1ffcfb54
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -1655,7 +1655,10 @@ int newcat_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
// some rigs like the FT991 need time before doing anything else like set_freq
// We won't mess with CW mode -- no freq change expected hopefully
if (rig->state.current_mode != RIG_MODE_CW)
if (rig->state.current_mode != RIG_MODE_CW
&& rig->state.current_mode != RIG_MODE_CWR
&& rig->state.current_mode != RIG_MODE_CWN
)
{
hl_usleep(100 * 1000);
}

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20220307"
#define NEWCAT_VER "20220331"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129