![](/media/cache/profiles/3f4243a6f681f2920ac3e95a63517274.50x50_q85.jpg)
code that uses Watchdog to reset Mbed every 30seconds. After 30-60mins, the ethernet interface fails to setup() after WatchDog reset.
EthernetNetIf/LPC1768/lwip/arch/perf.h@0:0ce833f21e63, 2012-06-07 (annotated)
- Committer:
- eqon
- Date:
- Thu Jun 07 05:44:29 2012 +0000
- Revision:
- 0:0ce833f21e63
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
eqon | 0:0ce833f21e63 | 1 | /* |
eqon | 0:0ce833f21e63 | 2 | * Author: Adam Dunkels <adam@sics.se> |
eqon | 0:0ce833f21e63 | 3 | * |
eqon | 0:0ce833f21e63 | 4 | */ |
eqon | 0:0ce833f21e63 | 5 | #ifndef __LWIP_ARCH_PERF_H__ |
eqon | 0:0ce833f21e63 | 6 | #define __LWIP_ARCH_PERF_H__ |
eqon | 0:0ce833f21e63 | 7 | |
eqon | 0:0ce833f21e63 | 8 | #define PERF_START |
eqon | 0:0ce833f21e63 | 9 | #define PERF_STOP(x) |
eqon | 0:0ce833f21e63 | 10 | |
eqon | 0:0ce833f21e63 | 11 | #define perf_init(fname) |
eqon | 0:0ce833f21e63 | 12 | |
eqon | 0:0ce833f21e63 | 13 | #if 0 |
eqon | 0:0ce833f21e63 | 14 | #ifdef __cplusplus |
eqon | 0:0ce833f21e63 | 15 | inline |
eqon | 0:0ce833f21e63 | 16 | #endif |
eqon | 0:0ce833f21e63 | 17 | void perf_init(char *fname) { |
eqon | 0:0ce833f21e63 | 18 | return; |
eqon | 0:0ce833f21e63 | 19 | } |
eqon | 0:0ce833f21e63 | 20 | #endif |
eqon | 0:0ce833f21e63 | 21 | |
eqon | 0:0ce833f21e63 | 22 | |
eqon | 0:0ce833f21e63 | 23 | #endif /* __LWIP_ARCH_PERF_H__ */ |