diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-21 20:32:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-21 20:32:29 +0000 |
commit | 9032cb5a184ecf8923e0e5046bafaa19da511898 (patch) | |
tree | 5911629c3a51ab8795ee68ae05a60bc63ebabe07 /demos/ARM7-AT91SAM7X-WEB-GCC | |
parent | b34347c0257b14e5da0704ba2c710f39a9f9f002 (diff) | |
download | ChibiOS-9032cb5a184ecf8923e0e5046bafaa19da511898.tar.gz ChibiOS-9032cb5a184ecf8923e0e5046bafaa19da511898.tar.bz2 ChibiOS-9032cb5a184ecf8923e0e5046bafaa19da511898.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@304 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-WEB-GCC')
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c b/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c index c99813fe8..127304295 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c @@ -119,8 +119,8 @@ msg_t WebThread(void *p) { /*
* uIP initialization.
*/
- timer_set(&periodic_timer, 500);
- timer_set(&arp_timer, 10000);
+ timer_set(&periodic_timer, CLOCK_SECOND / 2);
+ timer_set(&arp_timer, CLOCK_SECOND * 10);
uip_init();
uip_setethaddr(macaddr);
uip_ipaddr(ipaddr, IPADDR0, IPADDR1, IPADDR2, IPADDR3);
|