From: Bdale Garbee Date: Mon, 28 Aug 2023 17:44:40 +0000 (-0600) Subject: ao-test-igniter: allow anything other than 'open' to be valid so LED tests work X-Git-Tag: 1.9.17~1^2~3 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=484290b35761add128e34c017bbf0e91d9a4a7bc ao-test-igniter: allow anything other than 'open' to be valid so LED tests work --- 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;