summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-17 03:16:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-17 03:16:26 +0000
commit4f3a80e30cf925912316179463f7f1288bd0aac8 (patch)
treec6eac2ed2d8c57861d33663cebc9c39e11a909ec /nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
parent4d176147d29f98d75bcf15c0a377cf92048174e9 (diff)
downloadpx4-nuttx-4f3a80e30cf925912316179463f7f1288bd0aac8.tar.gz
px4-nuttx-4f3a80e30cf925912316179463f7f1288bd0aac8.tar.bz2
px4-nuttx-4f3a80e30cf925912316179463f7f1288bd0aac8.zip
misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3116 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
index 874ef1c96..33540549c 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
@@ -714,10 +714,10 @@ static int lpc17_transmit(struct lpc17_driver_s *priv)
(priv->lp_dev.d_len - 1);
/* Copy the packet data into the Tx buffer assignd to this descriptor. It
- * should fit because each packet buffer is the MTU size and breaking up larger
- * TCP messasges is handled by higher level logic. The hardware does, however,t
- * support breaking up larger messages into many fragments, however, that
- * capability is not exploited here.
+ * should fit because each packet buffer is the MTU size and breaking up
+ * largerTCP messasges is handled by higher level logic. The hardware
+ * does, however, support breaking up larger messages into many fragments,
+ * however, that capability is not exploited here.
*
* This would be a great performance improvement: Remove the buffer from
* the lp_dev structure and replace it a pointer directly into the EMAC
@@ -744,7 +744,8 @@ static int lpc17_transmit(struct lpc17_driver_s *priv)
/* Setup the TX timeout watchdog (perhaps restarting the timer) */
- (void)wd_start(priv->lp_txtimeout, LPC17_TXTIMEOUT, lpc17_txtimeout, 1, (uint32_t)priv);
+ (void)wd_start(priv->lp_txtimeout, LPC17_TXTIMEOUT, lpc17_txtimeout,
+ 1, (uint32_t)priv);
return OK;
}