diff --git a/firmware/0x10000.bin b/firmware/0x10000.bin index 39ec03c..419e979 100644 Binary files a/firmware/0x10000.bin and b/firmware/0x10000.bin differ diff --git a/firmware/sha1sums b/firmware/sha1sums index 95a87b5..a604cb0 100644 --- a/firmware/sha1sums +++ b/firmware/sha1sums @@ -1,2 +1,2 @@ c08f223b081e1c36aae2ffc8b2ab79ad1949d665 0x00000.bin -a6bf6dce93592298d82a4920c66712c369d8ab98 0x10000.bin +11a30e04e0f5e6f04ca7447177992134f7f63976 0x10000.bin diff --git a/user/global.h b/user/global.h index 825b98b..b94505a 100644 --- a/user/global.h +++ b/user/global.h @@ -37,7 +37,7 @@ extern uint8_t *my_script; extern struct espconn *downloadCon; extern struct espconn *scriptcon; -void http_script_cb(char *response_body, int http_status, char *response_headers, int body_size); +void http_script_cb(char* hostname, char* path, char *response_body, int http_status, char *response_headers, int body_size); void script_connected_cb(void *arg); #endif diff --git a/user/user_main.c b/user/user_main.c index ea0e7a3..531e53a 100644 --- a/user/user_main.c +++ b/user/user_main.c @@ -152,7 +152,7 @@ static void ICACHE_FLASH_ATTR script_recv_cb(void *arg, char *data, unsigned sho } } -void ICACHE_FLASH_ATTR http_script_cb(char *response_body, int http_status, char *response_headers, int body_size) { +void ICACHE_FLASH_ATTR http_script_cb(char* hostname, char* path, char *response_body, int http_status, char *response_headers, int body_size) { char response[64]; if (http_status != 200) {