mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Fix a UDP build issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4654 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2679,4 +2679,6 @@
|
||||
Rx DMA into a circular buffer (contributed by Mike Smith)
|
||||
* configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
|
||||
PIC32MX7 Multimedia Board (MMB).
|
||||
* net/recvfrom.c: Fix a compilation problem. Some UDP logic was conditioned
|
||||
on TCP, not UDP.
|
||||
|
||||
|
||||
+1
-1
@@ -229,7 +229,7 @@ static inline void recvfrom_newtcpdata(FAR struct uip_driver_s *dev,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NET_TCP
|
||||
#ifdef CONFIG_NET_UDP
|
||||
static inline void recvfrom_newudpdata(FAR struct uip_driver_s *dev,
|
||||
FAR struct recvfrom_s *pstate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user