diff --git a/simulators/simftdx1200.c b/simulators/simftdx1200.c index 2808405a3..508b7e43f 100644 --- a/simulators/simftdx1200.c +++ b/simulators/simftdx1200.c @@ -157,16 +157,6 @@ int main(int argc, char *argv[]) if (n <= 0) { perror("ID"); } } - else if (strcmp(buf, "AI;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - SNPRINTF(buf, sizeof(buf), "AI0;"); - n = write(fd, buf, strlen(buf)); - printf("n=%d\n", n); - - if (n <= 0) { perror("ID"); } - } #if 0 else if (strncmp(buf, "AI", 2) == 0) @@ -183,16 +173,6 @@ int main(int argc, char *argv[]) } #endif - else if (strcmp(buf, "VS;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - pbuf = "VS0;"; - n = write(fd, pbuf, strlen(pbuf)); - printf("n=%d\n", n); - - if (n < 0) { perror("VS"); } - } else if (strcmp(buf, "EX032;") == 0) { static int ant = 0; diff --git a/simulators/simftdx3000.c b/simulators/simftdx3000.c index 33b0cd000..5d07eb1ee 100644 --- a/simulators/simftdx3000.c +++ b/simulators/simftdx3000.c @@ -157,42 +157,7 @@ int main(int argc, char *argv[]) if (n <= 0) { perror("ID"); } } - else if (strcmp(buf, "AI;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - SNPRINTF(buf, sizeof(buf), "AI0;"); - n = write(fd, buf, strlen(buf)); - printf("n=%d\n", n); - if (n <= 0) { perror("ID"); } - } - -#if 0 - else if (strncmp(buf, "AI", 2) == 0) - { - if (strcmp(buf, "AI;")) - { - printf("%s\n", buf); - usleep(50 * 1000); - n = fprintf(fp, "%s", "AI0;"); - printf("n=%d\n", n); - - if (n <= 0) { perror("AI"); } - } - } - -#endif - else if (strcmp(buf, "VS;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - pbuf = "VS0;"; - n = write(fd, pbuf, strlen(pbuf)); - printf("n=%d\n", n); - - if (n < 0) { perror("VS"); } - } else if (strcmp(buf, "EX032;") == 0) { static int ant = 0; diff --git a/simulators/simftdx5000.c b/simulators/simftdx5000.c index e8ce7d1d1..e79d8f04f 100644 --- a/simulators/simftdx5000.c +++ b/simulators/simftdx5000.c @@ -159,42 +159,6 @@ int main(int argc, char *argv[]) if (n <= 0) { perror("ID"); } } - else if (strcmp(buf, "AI;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - SNPRINTF(buf, sizeof(buf), "AI0;"); - n = write(fd, buf, strlen(buf)); - printf("n=%d\n", n); - - if (n <= 0) { perror("ID"); } - } - -#if 0 - else if (strncmp(buf, "AI", 2) == 0) - { - if (strcmp(buf, "AI;")) - { - printf("%s\n", buf); - usleep(50 * 1000); - n = fprintf(fp, "%s", "AI0;"); - printf("n=%d\n", n); - - if (n <= 0) { perror("AI"); } - } - } - -#endif - else if (strcmp(buf, "VS;") == 0) - { - printf("%s\n", buf); - usleep(50 * 1000); - pbuf = "VS0;"; - n = write(fd, pbuf, strlen(pbuf)); - printf("n=%d\n", n); - - if (n < 0) { perror("VS"); } - } else if (strcmp(buf, "EX032;") == 0) { static int ant = 0;