Browse Source

API pgaidentify - unsupported message should be a warning

Kano 13 years ago
parent
commit
9950cff5ae
2 changed files with 2 additions and 2 deletions
  1. 1 1
      API-README
  2. 1 1
      api.c

+ 1 - 1
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

+ 1 - 1
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 }
 };