From b736a5ef2b72f888acdc8fe825f8f8151ec09680 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 2 Feb 2010 03:22:45 +0000 Subject: Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions. --- Projects/Webserver/Lib/HTTPServerApp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/Webserver/Lib') 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) { -- cgit v1.2.3