kopia lustrzana https://github.com/Hamlib/Hamlib
Fix a format so that it works with Windows. Can't test it because
I have no Windows machines.pull/27/head
rodzic
c35056ff15
commit
29e976878f
|
@ -265,7 +265,7 @@ static int thd72_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
||||||
retval = thd72_get_freq_info(rig, vfo, buf);
|
retval = thd72_get_freq_info(rig, vfo, buf);
|
||||||
if (retval != RIG_OK)
|
if (retval != RIG_OK)
|
||||||
return retval;
|
return retval;
|
||||||
sprintf(fbuf, "%010ld", (int64_t)freq);
|
sprintf(fbuf, "%010"PRIll, (int64_t)freq);
|
||||||
memcpy(buf+5, fbuf, 10);
|
memcpy(buf+5, fbuf, 10);
|
||||||
retval = kenwood_simple_transaction(rig, buf, 52);
|
retval = kenwood_simple_transaction(rig, buf, 52);
|
||||||
return retval;
|
return retval;
|
||||||
|
|
Ładowanie…
Reference in New Issue