X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Fao-test-igniter%2Fao-test-igniter.c;fp=ao-tools%2Fao-test-igniter%2Fao-test-igniter.c;h=16ff27f45359755450b0f01e439cdc556ae6188f;hp=180defdb441a436af5a850d731bcee79cee95c3f;hb=9ce63bf0ae9c4d0f5ae20f42684c9eba7c9d42fc;hpb=598a504f9a59612f785f1444c2bf6f453911f9f3 diff --git a/ao-tools/ao-test-igniter/ao-test-igniter.c b/ao-tools/ao-test-igniter/ao-test-igniter.c index 180defdb..16ff27f4 100644 --- a/ao-tools/ao-test-igniter/ao-test-igniter.c +++ b/ao-tools/ao-test-igniter/ao-test-igniter.c @@ -195,7 +195,7 @@ do_igniter(struct cc_usb *usb, char *name, double rplus, double rminus, int adc_ return 0; } } - if (strcmp(this->status, "ready") != 0) { + if (strcmp(this->status, "open") == 0) { printf("igniter %s status is %s\n", this->name, this->status); free_igniters(all); return 0;