Hopefully fix newcat.c compile error on older compiler

pull/1392/head
Mike Black W9MDB 2023-10-01 07:38:59 -05:00
rodzic 6e8d328fb1
commit 027c59d6e9
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1940,6 +1940,7 @@ int newcat_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
break;
case RIG_PTT_OFF:
{
char txoff[] = "TX0;";
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s", txoff);
rig_debug(RIG_DEBUG_TRACE, "%s: cmd_str = %s\n", __func__, priv->cmd_str);
@ -1957,6 +1958,7 @@ int newcat_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
// so we increased the sleep from 100ms to 300ms
hl_usleep(300 * 1000);
}
}
break;