error searching
This commit is contained in:
parent
dd4cbb6d4f
commit
f1b70611b0
1 changed files with 9 additions and 9 deletions
|
@ -78,7 +78,7 @@ extern HANDLE hProc;
|
|||
|
||||
/* decide whether it's polling mode or not
|
||||
*/
|
||||
static int no_irq = 0;
|
||||
static int no_irq = 1;
|
||||
|
||||
/* this will be set by open() and close() and shows wether the driver is running or not
|
||||
*/
|
||||
|
@ -1144,7 +1144,6 @@ static int mmnif_wait(struct netif* netif, uint32_t poll, int budget)
|
|||
}
|
||||
|
||||
npackets++;
|
||||
pbuf_free(p);
|
||||
}
|
||||
|
||||
/* Note : i will add an return error wich indicates that
|
||||
|
@ -1212,6 +1211,7 @@ int mmnif_poll(void* e)
|
|||
#endif
|
||||
sem_wait(&mmnif->com_poll);
|
||||
}
|
||||
mmnif->stats.pll_empty = 0;
|
||||
}
|
||||
mmnif->stats.pll_empty=0;
|
||||
mmnif_rx(mmnif_dev);
|
||||
|
|
Loading…
Add table
Reference in a new issue