kopia lustrzana https://github.com/Hamlib/Hamlib
corr.
rodzic
d0bff25bb9
commit
31c7441338
|
@ -853,7 +853,7 @@ int drake_get_chan(RIG *rig, channel_t *chan, int read_only)
|
||||||
|
|
||||||
|
|
||||||
strncpy(chan->channel_desc, mdbuf + 25, 7);
|
strncpy(chan->channel_desc, mdbuf + 25, 7);
|
||||||
chan->channel_desc[8]='\0'; // in case strncpy did not terminate the string
|
chan->channel_desc[7]='\0'; // in case strncpy did not terminate the string
|
||||||
|
|
||||||
//now put the radio back the way it was
|
//now put the radio back the way it was
|
||||||
//we apparently can't do a read-only channel read
|
//we apparently can't do a read-only channel read
|
||||||
|
|
Ładowanie…
Reference in New Issue