cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3115 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
cb9ded19c7
commit
b003840d5d
@ -915,7 +915,7 @@ static int lm3s_interrupt(int irq, FAR void *context)
|
||||
}
|
||||
|
||||
/* Enable Ethernet interrupts (perhaps excluding the TX done interrupt if
|
||||
* there are no pending transmissions.
|
||||
* there are no pending transmissions).
|
||||
*/
|
||||
|
||||
return OK;
|
||||
|
@ -1100,9 +1100,15 @@ static void lpc17_txdone(struct lpc17_driver_s *priv)
|
||||
|
||||
static int lpc17_interrupt(int irq, void *context)
|
||||
{
|
||||
register struct lpc17_driver_s *priv = &g_ethdrvr[0];
|
||||
register struct lpc17_driver_s *priv;
|
||||
uint32_t status;
|
||||
|
||||
#if CONFIG_LPC17_NINTERFACES > 1
|
||||
# error "A mechanism to associate and interface with an IRQ is needed"
|
||||
#else
|
||||
priv = &g_ethdrvr[0];
|
||||
#endif
|
||||
|
||||
/* Get the interrupt status (zero means no interrupts pending). */
|
||||
|
||||
status = lpc17_getreg(LPC17_ETH_INTST);
|
||||
|
Loading…
Reference in New Issue
Block a user