kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/zisi/Hamlib into zisi-master
commit
e5a286dd23
|
@ -315,7 +315,7 @@ static int easycomm_rot_get_conf(ROT *rot, token_t token, char *val) {
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s got response: %s\n", __FUNCTION__, ackbuf);
|
rig_debug(RIG_DEBUG_TRACE, "%s got response: %s\n", __FUNCTION__, ackbuf);
|
||||||
/* Return given string at correct position*/
|
/* Return given string at correct position*/
|
||||||
val = &ackbuf[2]; /* CCxxxxxx */
|
memcpy(val, ackbuf + 2, sizeof(ackbuf) - 2); /* CCxxxxxx */
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue