kopia lustrzana https://github.com/Hamlib/Hamlib
Fix handling of command line ending.
If command is *not* already terminated with ';' or '\r' add the Kenwood 'cmdtrm' instead of '\r'. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2907 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
a02cf50c71
commit
c151a6cc46
|
@ -186,7 +186,7 @@ transaction_write:
|
|||
|
||||
/* XXX the if is temporary, until all invocations are fixed */
|
||||
if (cmdstr[len - 1] != ';' && cmdstr[len - 1] != '\r') {
|
||||
cmd[len] = '\r';
|
||||
cmd[len] = caps->cmdtrm;
|
||||
len++;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue