summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-15 22:38:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-15 22:38:32 +0000
commitd6100fb0fad57df531e0774793d188e899943852 (patch)
tree0f7204a066a470ffde437f8c1a1dfcfd78575736 /nuttx/drivers
parentc7bd005fd19b6ab3d548613495f6f5a0a955387f (diff)
downloadpx4-nuttx-d6100fb0fad57df531e0774793d188e899943852.tar.gz
px4-nuttx-d6100fb0fad57df531e0774793d188e899943852.tar.bz2
px4-nuttx-d6100fb0fad57df531e0774793d188e899943852.zip
Fix probably where packets dropped because there was no recv() in place were being ACKed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@381 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/net/dm90x0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/net/dm90x0.c b/nuttx/drivers/net/dm90x0.c
index b8a9c3ae6..ccd2c69c1 100644
--- a/nuttx/drivers/net/dm90x0.c
+++ b/nuttx/drivers/net/dm90x0.c
@@ -260,10 +260,10 @@
# define CONFIG_DM9X_MODE DM9X_MODE_AUTO
#endif
-/* TX poll deley = 5 seconds. CLK_TCK is the number of clock ticks per second */
+/* TX poll deley = 1 seconds. CLK_TCK is the number of clock ticks per second */
-#define DM6X_WDDELAY (5*CLK_TCK)
-#define DM6X_POLLHSEC (5*2)
+#define DM6X_WDDELAY (1*CLK_TCK)
+#define DM6X_POLLHSEC (1*2)
/* TX timeout = 1 minute */