summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/arm/src/c5471
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-12-06 23:12:48 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-12-06 23:12:48 +0000
commit1c9bf961a6418679dfc10a4399e2fc571284ddc0 (patch)
treebe1a661a4065439643af895866ad46b3d4e0a215 /nuttx/arch/arm/src/c5471
parent4ed240c707738ca9b57347df6c3289a2a2b4442e (diff)
C5471 ethernet debug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@431 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/c5471')
-rw-r--r--nuttx/arch/arm/src/c5471/c5471_ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_ethernet.c b/nuttx/arch/arm/src/c5471/c5471_ethernet.c
index 1d680e7469..8ec28a7854 100644
--- a/nuttx/arch/arm/src/c5471/c5471_ethernet.c
+++ b/nuttx/arch/arm/src/c5471/c5471_ethernet.c
@@ -1486,7 +1486,7 @@ static int c5471_interrupt(int irq, FAR void *context)
/* Handle interrupts according to status bit settings */
/* Check if we received an incoming packet, if so, call c5471_receive() */
- if (EIM_STATUS_CPU_TX & c5471->c_eimstatus)
+ if ((EIM_STATUS_CPU_TX & c5471->c_eimstatus) != 0)
{
/* An incoming packet has been received by the EIM from the network and
* the interrupt associated with EIM's CPU TX queue has been asserted. It
@@ -1508,7 +1508,7 @@ static int c5471_interrupt(int irq, FAR void *context)
/* Check is a packet transmission just completed. If so, call c5471_txdone */
- if (EIM_STATUS_CPU_RX & c5471->c_eimstatus)
+ if ((EIM_STATUS_CPU_RX & c5471->c_eimstatus) != 0)
{
/* An outgoing packet has been processed by the EIM and the interrupt
* associated with EIM's CPU RX que has been asserted. It is the EIM's