summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-11 12:25:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-11 12:25:11 -0600
commit8e99f6bfed3e066cec389ea80efd83ea86f7d067 (patch)
tree5f46720488c14d0c12bc15d10c9e7ced6bead107 /nuttx
parent1cb6f52c09f21f2ad736dd71a292c1ac5de13a5f (diff)
downloadnuttx-8e99f6bfed3e066cec389ea80efd83ea86f7d067.tar.gz
nuttx-8e99f6bfed3e066cec389ea80efd83ea86f7d067.tar.bz2
nuttx-8e99f6bfed3e066cec389ea80efd83ea86f7d067.zip
Lpc17xx Ethernet: Comment out an assertion that is reported to first inappropriately. From Max
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c2
-rw-r--r--nuttx/libc/misc/lib_init.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
index 1b726da2a..0f5495ed0 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
@@ -1083,7 +1083,9 @@ static int lpc17_interrupt(int irq, void *context)
if ((status & ETH_INT_RXFIN) != 0)
{
EMAC_STAT(priv, rx_finished);
+#if 0 /* REVISIT: Reported to cause false alarm assertions */
DEBUGASSERT(lpc17_getreg(LPC17_ETH_RXPRODIDX) == lpc17_getreg(LPC17_ETH_RXCONSIDX));
+#endif
}
/* RX DONE -- Triggered when a receive descriptor has been
diff --git a/nuttx/libc/misc/lib_init.c b/nuttx/libc/misc/lib_init.c
index 08c954c79..586699a4a 100644
--- a/nuttx/libc/misc/lib_init.c
+++ b/nuttx/libc/misc/lib_init.c
@@ -114,8 +114,8 @@ void lib_streaminit(FAR struct streamlist *list)
}
}
-/* this function is called when a TCB is destroyed. Note that is
- * does not close the file by release this inode. This happens
+/* This function is called when a TCB is destroyed. Note that is
+ * does not close the files by releasing the inode. This happens
* separately when the file descriptor list is freed.
*/