Revision 58b9ee41 mongoose.c

View differences:

mongoose.c
13727 13727

  
13728 13728
#include <lwip/pbuf.h>
13729 13729
#include <lwip/tcp.h>
13730
#if CS_PLATFORM != CS_P_STM32
13730 13731
#include <lwip/tcp_impl.h>
13732
#endif
13731 13733
#include <lwip/udp.h>
13732 13734

  
13733 13735
/* Amalgamated: #include "common/cs_dbg.h" */
......
13949 13951
 * Lwip included in the SDKs for nRF5x chips has different type for the
13950 13952
 * callback of `udp_recv()`
13951 13953
 */
13952
#if CS_PLATFORM == CS_P_NRF51 || CS_PLATFORM == CS_P_NRF52
13954
#if CS_PLATFORM == CS_P_NRF51 || CS_PLATFORM == CS_P_NRF52 || \
13955
    CS_PLATFORM == CS_P_STM32
13953 13956
static void mg_lwip_udp_recv_cb(void *arg, struct udp_pcb *pcb, struct pbuf *p,
13954 13957
                                const ip_addr_t *addr, u16_t port)
13955 13958
#else

Also available in: Unified diff