Patch from Landon Fuller adds const to PROGMEM, required for newer avr-gcc

This commit is contained in:
David Kopf 2012-06-10 12:54:11 -04:00
parent 9096da299e
commit 37c407b177
6 changed files with 15 additions and 17 deletions

View file

@ -307,8 +307,6 @@ generate_header(void *hstr)
#endif
}
/*---------------------------------------------------------------------------*/
char http_htm[10] PROGMEM ="text/html";
char http_css[ 9] PROGMEM ="text/css";
const char httpd_mime_htm[] HTTPD_STRING_ATTR = "text/html";
const char httpd_mime_css[] HTTPD_STRING_ATTR = "text/css";
const char httpd_mime_png[] HTTPD_STRING_ATTR = "image/png";