mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14112 from paul-szczepanek-arm/fix-arm-compile
ARM linking issue: compile out trace when not availablepull/14032/head
commit
7ad4304c8e
|
@ -1223,7 +1223,9 @@ buffer_t *tcp_up(buffer_t *buf)
|
|||
seg_len++;
|
||||
}
|
||||
|
||||
#if defined(FEA_TRACE_SUPPORT) && MBED_CONF_MBED_TRACE_ENABLE && (MBED_TRACE_MAX_LEVEL >= TRACE_LEVEL_DEBUG)
|
||||
tr_debug("TCP_UP: dst_p=%d, src_p=%d, flags=%s", buf->dst_sa.port, buf->src_sa.port, trace_tcp_flags(flags));
|
||||
#endif
|
||||
/* clear flags that will be ignored */
|
||||
flags &= ~(TCP_FLAG_CWR | TCP_FLAG_ECE | TCP_FLAG_URG);
|
||||
|
||||
|
|
Loading…
Reference in New Issue