Patch from Landon Fuller adds const to PROGMEM, required for newer avr-gcc
This commit is contained in:
parent
9096da299e
commit
37c407b177
6 changed files with 15 additions and 17 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue