Skip to content

Commit

Permalink
Adding String API to C-String API for downloadOTA
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Aug 6, 2020
1 parent 6956ea9 commit 2c4518c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WiFiStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ class WiFiStorageClass
static bool download(String url, String filename) {
return download(url.c_str(), filename.c_str());
}
static bool download(String url) {
return downloadOTA(url.c_str());
}
};

extern WiFiStorageClass WiFiStorage;
Expand Down

0 comments on commit 2c4518c

Please sign in to comment.