Commit 9950cff5aef644b8787f8ff5ff2fb8a89e8df404

Kano 2012-09-04T12:57:22

API pgaidentify - unsupported message should be a warning

diff --git a/API-README b/API-README
index 8a686fc..bd2811c 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 839ea66..4aefcf0 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 }
 };