![](/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/LPC2368/lwip/arch/sys_arch.h
- Committer:
- eqon
- Date:
- 2012-06-07
- Revision:
- 0:0ce833f21e63
File content as of revision 0:0ce833f21e63:
/* * Author: Adam Dunkels <adam@sics.se> * */ #ifndef __LWIP_SYS_ARCH_H__ #define __LWIP_SYS_ARCH_H__ typedef unsigned int u32_t; #ifdef __cplusplus extern "C" { #endif //DG 2010 void sys_init(void); /* To be called first */ u32_t sys_jiffies(void); /* since power up. */ /** Returns the current time in milliseconds, * may be the same as sys_jiffies or at least based on it. */ u32_t sys_now(void); #ifdef __cplusplus } #endif #endif /* __LWIP_ARCH_CC_H__ */