kopia lustrzana https://github.com/Hamlib/Hamlib
Remove unneede if check since all backends have been fixed
rodzic
2c79b1c2fd
commit
ad97b98a71
|
@ -271,13 +271,6 @@ transaction_write:
|
||||||
|
|
||||||
memcpy(cmd, cmdstr, len);
|
memcpy(cmd, cmdstr, len);
|
||||||
|
|
||||||
/* XXX the if is temporary, until all invocations are fixed */
|
|
||||||
if (cmdstr[len - 1] != ';' && cmdstr[len - 1] != '\r')
|
|
||||||
{
|
|
||||||
cmd[len] = caps->cmdtrm;
|
|
||||||
len++;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* flush anything in the read buffer before command is sent */
|
/* flush anything in the read buffer before command is sent */
|
||||||
if (rs->rigport.type.rig == RIG_PORT_NETWORK
|
if (rs->rigport.type.rig == RIG_PORT_NETWORK
|
||||||
|| rs->rigport.type.rig == RIG_PORT_UDP_NETWORK)
|
|| rs->rigport.type.rig == RIG_PORT_UDP_NETWORK)
|
||||||
|
|
Ładowanie…
Reference in New Issue