diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-18 05:33:35 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-18 05:33:35 +0000 |
commit | 42b850f2b94941066c36d85b4878d6a348260b4d (patch) | |
tree | aec74a784b2690ca8aa0fb778883441ade6b18bf /Projects/Webserver/Lib/uIPManagement.c | |
parent | 012628f635b66169b81ab66d4059c3360dd4b612 (diff) | |
download | lufa-42b850f2b94941066c36d85b4878d6a348260b4d.tar.gz lufa-42b850f2b94941066c36d85b4878d6a348260b4d.tar.bz2 lufa-42b850f2b94941066c36d85b4878d6a348260b4d.zip |
Use a temporary variable to hold the current URI length in the Webserver, rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c.
Diffstat (limited to 'Projects/Webserver/Lib/uIPManagement.c')
-rw-r--r-- | Projects/Webserver/Lib/uIPManagement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index 13829c56b..bd7804e6e 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -52,7 +52,7 @@ void uIPManagement_Init(void) {
/* uIP Timing Initialization */
clock_init();
- timer_set(&ConnectionTimer, CLOCK_SECOND / 5);
+ timer_set(&ConnectionTimer, CLOCK_SECOND / 2);
timer_set(&ARPTimer, CLOCK_SECOND * 10);
/* uIP Stack Initialization */
|