Merge branch 'master' into fix24

pull/1636/head
Michael Black 2024-12-03 06:57:15 -06:00 zatwierdzone przez GitHub
commit cf61b9a178
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 5 dodań i 7 usunięć

Wyświetl plik

@ -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);