1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

code style

This commit is contained in:
Markus Sattler 2015-06-22 11:51:13 +02:00
parent f11c65e9a7
commit 750c5dcc5d
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ ESP8266HTTPUpdate::~ESP8266HTTPUpdate(void) {
}
t_httpUpdate_return ESP8266HTTPUpdate::update(const char *host, uint16_t port, const char * url, const char *current_version) {
t_httpUpdate_return ESP8266HTTPUpdate::update(const char * host, uint16_t port, const char * url, const char * current_version) {
t_httpUpdate_return ret = HTTP_UPDATE_FAILD;
WiFiClient tcp;

View File

@ -46,7 +46,7 @@ class ESP8266HTTPUpdate {
ESP8266HTTPUpdate(void);
~ESP8266HTTPUpdate(void);
t_httpUpdate_return update(const char *host, uint16_t port, const char * url = "/", const char *current_version = "");
t_httpUpdate_return update(const char * host, uint16_t port, const char * url = "/", const char * current_version = "");
t_httpUpdate_return update(String host, uint16_t port, String url = "/", String current_version = "");
};