Browse Source

API pgaidentify - unsupported message should be a warning

nfactor-troky
Kano 12 years ago
parent
commit
9950cff5ae
  1. 2
      API-README
  2. 2
      api.c

2
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 and currently only BFL singles support this command
On a BFL single it will flash the led on the front On a BFL single it will flash the led on the front
of the device for appoximately 4s 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 status message stating that they dont support it
This adds a 4s delay to the BFL share being processed This adds a 4s delay to the BFL share being processed
so you may get a message stating that procssing took so you may get a message stating that procssing took

2
api.c

@ -551,7 +551,7 @@ struct CODES {
{ SEVERITY_SUCC, MSG_DEBUGSET,PARAM_STR, "Debug settings" }, { SEVERITY_SUCC, MSG_DEBUGSET,PARAM_STR, "Debug settings" },
#ifdef HAVE_AN_FPGA #ifdef HAVE_AN_FPGA
{ SEVERITY_SUCC, MSG_PGAIDENT,PARAM_PGA, "Identify command sent to PGA%d" }, { 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 #endif
{ SEVERITY_FAIL, 0, 0, NULL } { SEVERITY_FAIL, 0, 0, NULL }
}; };

Loading…
Cancel
Save