kopia lustrzana https://github.com/Hamlib/Hamlib
Update simkenwood and simyaesu
rodzic
c63a71601a
commit
80043d437c
|
@ -252,6 +252,14 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
sscanf(buf, "DA%d", &datamode);
|
sscanf(buf, "DA%d", &datamode);
|
||||||
}
|
}
|
||||||
|
else if (strncmp(buf, "BD;", 3) == 0)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
else if (strncmp(buf, "BU;", 3) == 0)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else if (strlen(buf) > 0)
|
else if (strlen(buf) > 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Unknown command: %s\n", buf);
|
fprintf(stderr, "Unknown command: %s\n", buf);
|
||||||
|
|
|
@ -120,6 +120,8 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (power==0 && strcmp(buf,"PS1;")!=0) continue;
|
||||||
if (strcmp(buf, "PS;") == 0)
|
if (strcmp(buf, "PS;") == 0)
|
||||||
{
|
{
|
||||||
sprintf(resp, "PS%d;", power);
|
sprintf(resp, "PS%d;", power);
|
||||||
|
|
Ładowanie…
Reference in New Issue