kopia lustrzana https://github.com/Hamlib/Hamlib
Update simelecraft
rodzic
f5f4fdeca6
commit
a44c3d08cf
|
@ -238,10 +238,6 @@ int main(int argc, char *argv[])
|
|||
write(fd, buf, strlen(buf));
|
||||
}
|
||||
|
||||
else if (strlen(buf) > 0)
|
||||
{
|
||||
fprintf(stderr, "Unknown command: %s\n", buf);
|
||||
}
|
||||
else if (strncmp(buf,"FA",2)==0)
|
||||
{
|
||||
sscanf(buf,"FA%d",&freqa);
|
||||
|
@ -250,6 +246,10 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
sscanf(buf,"FB%d",&freqb);
|
||||
}
|
||||
else if (strlen(buf) > 0)
|
||||
{
|
||||
fprintf(stderr, "Unknown command: %s\n", buf);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue