kopia lustrzana https://github.com/Hamlib/Hamlib
corr
rodzic
31c7441338
commit
c708513d08
|
@ -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
|
||||
{
|
||||
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));
|
||||
retval = kenwood_transaction(rig, cmd, NULL, 0);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue