components: lwip - enable PERF macro for debug reason

This commit is contained in:
liuzhifu
2016-08-30 18:06:37 +08:00
parent 68bc7b4476
commit 77caf256c6
3 changed files with 3 additions and 2 deletions

View File

@@ -221,6 +221,7 @@ extern unsigned long os_random(void);
* TCP_WND: The size of a TCP window. This must be at least
* (2 * TCP_MSS) for things to work well
*/
#define PERF 1
#ifdef PERF
extern unsigned char misc_prof_get_tcpw(void);
extern unsigned char misc_prof_get_tcp_snd_buf(void);