Skip to content

Commit fdadadc

Browse files
committed
add default values for updateSpiffs
1 parent 839b150 commit fdadadc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ESP8266HTTPUpdate {
5353
t_httpUpdate_return update(const char * host, uint16_t port, const char * url = "/", const char * current_version = "", bool https = false, const char * httpsFingerprint = "");
5454
t_httpUpdate_return update(String host, uint16_t port, String url = "/", String current_version = "", bool https = false, String httpsFingerprint = "");
5555

56-
t_httpUpdate_return updateSpiffs(const char * url, const char * current_version, const char * httpsFingerprint);
56+
t_httpUpdate_return updateSpiffs(const char * url, const char * current_version = "", const char * httpsFingerprint = "");
5757

5858
protected:
5959
t_httpUpdate_return handleUpdate(HTTPClient * http, const char * current_version, bool reboot = true, bool spiffs = false);

0 commit comments

Comments
 (0)