kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' into fix24
commit
cf61b9a178
|
@ -5567,17 +5567,15 @@ int kenwood_send_morse(RIG *rig, vfo_t vfo, const char *msg)
|
|||
}
|
||||
/* FALL THROUGH */
|
||||
|
||||
case RIG_MODEL_TS590S:
|
||||
/* the command must consist of 28 bytes right aligned */
|
||||
SNPRINTF(morsebuf, sizeof(morsebuf), "KY %24s", m2);
|
||||
break;
|
||||
|
||||
default:
|
||||
/* the command must consist of 28 bytes 0x20 padded */
|
||||
SNPRINTF(morsebuf, sizeof(morsebuf), "KY %-24s", m2);
|
||||
|
||||
#if 0 // Why is this here?? 0x20 == ' '
|
||||
int i;
|
||||
for (i = strlen(morsebuf) - 1; i > 0 && morsebuf[i] == ' '; --i)
|
||||
{
|
||||
morsebuf[i] = 0x20;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
retval = kenwood_transaction(rig, morsebuf, NULL, 0);
|
||||
|
|
Ładowanie…
Reference in New Issue