pull/345/head
c vw 2020-07-17 12:25:02 +02:00
rodzic 31c7441338
commit c708513d08
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1710,7 +1710,7 @@ int kenwood_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit)
if (priv->has_rit2) // if backend shows it has the Set 2 command if (priv->has_rit2) // if backend shows it has the Set 2 command
{ {
char cmd[15]; char cmd[15]; // length required to make Apple-gcc happy (unicode-proof).
snprintf(cmd, sizeof(cmd)-1, "R%c%05d", rit > 0 ? 'U' : 'D', abs((int)rit)); snprintf(cmd, sizeof(cmd)-1, "R%c%05d", rit > 0 ? 'U' : 'D', abs((int)rit));
retval = kenwood_transaction(rig, cmd, NULL, 0); retval = kenwood_transaction(rig, cmd, NULL, 0);
} }