minor derivative to reduce compiler warnings and tag read-only parameters as const.

Dependents:   EthernetInterface

Fork of lwip-eth by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Nov 04 09:00:16 2013 +0000
Parent:
8:59490137c7a7
Child:
10:ab9330955226
Commit message:
Synchronized with git revision 8e4057efabf71902a57a8e71ad47141e1e2f98c9

Changed in this revision

arch/lpc_emac_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/arch/lpc_emac_config.h	Tue Sep 10 15:14:48 2013 +0300
+++ b/arch/lpc_emac_config.h	Mon Nov 04 09:00:16 2013 +0000
@@ -86,7 +86,7 @@
 /** \brief  Defines the number of descriptors used for TX. Must
  *          be a minimum value of 2.
  */
-#define LPC_NUM_BUFF_TXDESCS 3
+#define LPC_NUM_BUFF_TXDESCS (TCP_SND_QUEUELEN + 1)
 
 /** \brief  Set this define to 1 to enable bounce buffers for transmit pbufs
  *          that cannot be sent via the zero-copy method. Some chained pbufs