SAM3/4 Interrupt initialization. Default interrupt priority not being set correctly

This commit is contained in:
Gregory Nutt
2014-04-17 14:02:22 -06:00
parent b83702dd8a
commit 9485fbf66e
3 changed files with 7 additions and 6 deletions
+3 -5
View File
@@ -1085,16 +1085,14 @@ static int usbhost_mouse_poll(int argc, char *argv[])
{
/* If DRVR_TRANSFER() returns EAGAIN, that simply means that
* the devices was not ready and has NAK'ed the transfer. That
* no be treated as an error (unless it persists for a long
* time).
* should not be treated as an error (unless it persists for a
* long time).
*/
udbg("ERROR: DRVR_TRANSFER returned: %d/%d\n", ret, nerrors);
if (ret != -EAGAIN)
{
nerrors++;
if (nerrors > 200)
if (++nerrors > 200)
{
udbg("Too many errors... aborting: %d\n", nerrors);
break;