From 9950cff5aef644b8787f8ff5ff2fb8a89e8df404 Mon Sep 17 00:00:00 2001 From: Kano Date: Tue, 4 Sep 2012 12:57:22 +1000 Subject: [PATCH] API pgaidentify - unsupported message should be a warning --- API-README | 2 +- api.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API-README b/API-README index 8a686fcd..bd2811c9 100644 --- a/API-README +++ b/API-README @@ -266,7 +266,7 @@ The list of requests - a (*) means it requires privileged access - and replies a and currently only BFL singles support this command On a BFL single it will flash the led on the front of the device for appoximately 4s - All other non BFL PGA devices will return an error + All other non BFL PGA devices will return a warning status message stating that they dont support it This adds a 4s delay to the BFL share being processed so you may get a message stating that procssing took diff --git a/api.c b/api.c index 839ea660..4aefcf01 100644 --- a/api.c +++ b/api.c @@ -551,7 +551,7 @@ struct CODES { { SEVERITY_SUCC, MSG_DEBUGSET,PARAM_STR, "Debug settings" }, #ifdef HAVE_AN_FPGA { SEVERITY_SUCC, MSG_PGAIDENT,PARAM_PGA, "Identify command sent to PGA%d" }, - { SEVERITY_ERR, MSG_PGANOID, PARAM_PGA, "PGA%d does not support identify" }, + { SEVERITY_WARN, MSG_PGANOID, PARAM_PGA, "PGA%d does not support identify" }, #endif { SEVERITY_FAIL, 0, 0, NULL } };