Update simelecraft

pull/759/head^2
Mike Black W9MDB 2021-08-04 09:48:07 -05:00
rodzic f5f4fdeca6
commit a44c3d08cf
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -238,10 +238,6 @@ int main(int argc, char *argv[])
write(fd, buf, strlen(buf)); write(fd, buf, strlen(buf));
} }
else if (strlen(buf) > 0)
{
fprintf(stderr, "Unknown command: %s\n", buf);
}
else if (strncmp(buf,"FA",2)==0) else if (strncmp(buf,"FA",2)==0)
{ {
sscanf(buf,"FA%d",&freqa); sscanf(buf,"FA%d",&freqa);
@ -250,6 +246,10 @@ int main(int argc, char *argv[])
{ {
sscanf(buf,"FB%d",&freqb); sscanf(buf,"FB%d",&freqb);
} }
else if (strlen(buf) > 0)
{
fprintf(stderr, "Unknown command: %s\n", buf);
}
} }