aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-02 03:22:45 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-02 03:22:45 +0000
commitb736a5ef2b72f888acdc8fe825f8f8151ec09680 (patch)
tree0d5cc8f2fbe52a6bfed9b1eaa6a1b6208f5172ef /Projects/Webserver
parent4d246a82cbed77cea849ddcbc88d32019665edae (diff)
downloadlufa-b736a5ef2b72f888acdc8fe825f8f8151ec09680.tar.gz
lufa-b736a5ef2b72f888acdc8fe825f8f8151ec09680.tar.bz2
lufa-b736a5ef2b72f888acdc8fe825f8f8151ec09680.zip
Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions.
Diffstat (limited to 'Projects/Webserver')
-rw-r--r--Projects/Webserver/Lib/HTTPServerApp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Webserver/Lib/HTTPServerApp.c b/Projects/Webserver/Lib/HTTPServerApp.c
index e31bdbb0b..ed0be7b48 100644
--- a/Projects/Webserver/Lib/HTTPServerApp.c
+++ b/Projects/Webserver/Lib/HTTPServerApp.c
@@ -67,9 +67,9 @@ MIME_Type_t PROGMEM MIMETypes[] =
{.Extension = "gif", .MIMEType = "image/gif"},
{.Extension = "bmp", .MIMEType = "image/bmp"},
{.Extension = "png", .MIMEType = "image/png"},
+ {.Extension = "ico", .MIMEType = "image/x-icon"},
{.Extension = "exe", .MIMEType = "application/octet-stream"},
{.Extension = "gz", .MIMEType = "application/x-gzip"},
- {.Extension = "ico", .MIMEType = "image/x-icon"},
{.Extension = "zip", .MIMEType = "application/zip"},
{.Extension = "pdf", .MIMEType = "application/pdf"},
};
@@ -125,7 +125,7 @@ void WebserverApp_Callback(void)
AppState->CurrentState = AppState->NextState;
}
- if (uip_rexmit() || uip_newdata() || uip_acked() || uip_connected() || uip_poll())
+ if (uip_rexmit() || uip_acked() || uip_newdata() || uip_connected() || uip_poll())
{
switch (AppState->CurrentState)
{